forked from varnish/Varnish-Cache
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
47 lines (36 loc) · 1.22 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = include lib bin etc doc man redhat
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = varnishapi.pc
m4dir = $(datadir)/aclocal
m4_DATA = varnish.m4
CLEANFILES = cscope.in.out cscope.out cscope.po.out
EXTRA_DIST = LICENSE autogen.sh varnishapi.pc.in varnish.m4
DISTCHECK_CONFIGURE_FLAGS = \
--enable-developer-warnings \
--enable-debugging-symbols \
--enable-dependency-tracking \
--enable-tests
install-data-local:
$(install_sh) -d -m 0755 $(DESTDIR)$(localstatedir)/varnish
distcheck-hook:
V="@PACKAGE_VERSION@" ; \
V="$${V%%-*}" ; \
if ! grep "^Version: $$V$$" $(top_distdir)/redhat/varnish.spec && \
[ "@PACKAGE_VERSION@" != "trunk" ]; then \
echo "$$V" ; \
echo "redhat/varnish.spec does not have a version number matching the package" ; \
exit 1 ; \
fi
distcleancheck_listfiles = \
find . -type f -exec sh -c 'test -f $(srcdir)/$$1 || echo $$1' \
sh '{}' ';'
# XXX: This is a hack to ensure we have a built source tree when
# running make dist If we had used non-recursive make we could have
# solved it better, but we don't, so use this at least for now.
LICENSE: all
cscope:
-rm -f cscope*
find . -name '*.[hcS]' > cscope.files
cscope -b
.PHONY: cscope