tinyproxy/Makefile.am
Mukund Sivaraman 9d7bd43d8e Fix Makefile.am
2009-09-13 04:05:28 +05:30

23 lines
717 B
Makefile

# The following files are required for the build process
CONFIG_FILES = \
config.guess config.sub \
install-sh missing \
m4macros/typecheck.m4 m4macros/argenable.m4
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