-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.am
38 lines (29 loc) · 935 Bytes
/
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
#
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = include lib bin man etc doc
SUBDIRS += redhat
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = varnishapi.pc
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 '{}' ';'