tinyproxy/Makefile.am

23 lines
717 B
Makefile
Raw Normal View History

# The following files are required for the build process
CONFIG_FILES = \
config.guess config.sub \
2008-07-14 17:00:32 +08:00
install-sh missing \
m4macros/typecheck.m4 m4macros/argenable.m4
2008-03-31 08:12:26 +08:00
EXTRA_DIST = $(CONFIG_FILES) TODO autogen.sh
SUBDIRS = src data etc doc packaging
install-data-local: tinyproxy-html-files
# Install the HTML files
tinyproxy-html-files:
$(mkinstalldirs) $(DESTDIR)$(datadir)/tinyproxy
for file in debug default stats; do \
$(INSTALL) -m 644 $(srcdir)/data/templates/$$file.html $(DESTDIR)$(datadir)/tinyproxy/$$file.html.dist ; \
test -f $(DESTDIR)$(datadir)/tinyproxy/$$file.html || \
$(INSTALL) -m 644 $(srcdir)/data/templates/$$file.html $(DESTDIR)$(datadir)/tinyproxy/$$file.html ; \
done
2009-09-13 06:35:28 +08:00