forked from varnish/vagent2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
33 lines (28 loc) · 1.04 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
SUBDIRS = include src tests
EXTRA_DIST = autogen.sh include html INSTALL.rst README.rst debian tests redhat
AUTOMAKE_OPTIONS=-Wno-portability -Wno-override
# html/
webrootdir = $(pkgdatadir)/html
webroot_DATA = $(wildcard html/*.html html/*.js)
webrootcssdir = $(pkgdatadir)/html/bootstrap/css
webrootcss_DATA = $(wildcard html/bootstrap/css/*.css)
webrootjsdir = $(pkgdatadir)/html/bootstrap/js
webrootjs_DATA = $(wildcard html/bootstrap/js/*.js)
webrootimgdir = $(pkgdatadir)/html/bootstrap/img
webrootimg_DATA = $(wildcard html/bootstrap/img/*.png)
install-data-local:
$(install_sh) -d -m 0755 $(DESTDIR)$(localstatedir)/varnish-agent
dist_man_MANS = varnish-agent.1
MAINTAINERCLEANFILES = $(dist_man_MANS)
varnish-agent.1: README.rst
if HAVE_RST2MAN
${RST2MAN} README.rst $@
else
@echo "========================================"
@echo "You need rst2man installed to make dist"
@echo "========================================"
@false
endif
distcleancheck_listfiles = \
find . -type f -exec sh -c 'test -f $(srcdir)/$$1 || echo $$1' \
sh '{}' ';'