forked from varnish/Varnish-Cache
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
44 lines (34 loc) · 1.05 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
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = include lib bin man etc doc
SUBDIRS += redhat
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = varnishapi.pc
CLEANFILES = cscope.in.out cscope.out cscope.po.out
EXTRA_DIST = LICENSE autogen.sh varnishapi.pc.in
DISTCHECK_CONFIGURE_FLAGS = \
--enable-developer-warnings \
--enable-debugging-symbols \
--enable-dependency-tracking \
--enable-diagnostics \
--enable-extra-developer-warnings \
--enable-tests \
--enable-werror
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 '{}' ';'
cscope:
-rm -f cscope*
find . -name '*.[hcS]' > cscope.files
cscope -b
.PHONY: cscope