2003-03-11 04:04:52 +08:00
|
|
|
|
2004-08-25 00:39:29 +08:00
|
|
|
# The following files are required for the build process
|
|
|
|
CONFIG_FILES = \
|
2008-05-24 19:04:15 +08:00
|
|
|
config.guess config.sub \
|
2008-07-14 17:00:32 +08:00
|
|
|
install-sh missing \
|
2008-05-24 19:04:15 +08:00
|
|
|
m4macros/typecheck.m4 m4macros/argenable.m4
|
2004-08-25 00:39:29 +08:00
|
|
|
|
2008-03-31 08:12:26 +08:00
|
|
|
EXTRA_DIST = $(CONFIG_FILES) TODO autogen.sh
|
2009-09-13 06:34:18 +08:00
|
|
|
SUBDIRS = src data etc doc packaging
|
2002-05-02 12:44:03 +08:00
|
|
|
|
2009-09-13 06:34:18 +08:00
|
|
|
install-data-local: tinyproxy-html-files
|
2003-05-11 07:16:45 +08:00
|
|
|
|
|
|
|
# Install the HTML files
|
|
|
|
tinyproxy-html-files:
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(datadir)/tinyproxy
|
|
|
|
|
|
|
|
for file in debug default stats; do \
|
2009-09-13 06:18:24 +08:00
|
|
|
$(INSTALL) -m 644 $(srcdir)/data/templates/$$file.html $(DESTDIR)$(datadir)/tinyproxy/$$file.html.dist ; \
|
2003-05-11 07:16:45 +08:00
|
|
|
test -f $(DESTDIR)$(datadir)/tinyproxy/$$file.html || \
|
2009-09-13 06:18:24 +08:00
|
|
|
$(INSTALL) -m 644 $(srcdir)/data/templates/$$file.html $(DESTDIR)$(datadir)/tinyproxy/$$file.html ; \
|
2003-05-11 07:16:45 +08:00
|
|
|
done
|
|
|
|
$(INSTALL) -m 644 $(srcdir)/doc/HTML_VARIABLES $(DESTDIR)$(datadir)/tinyproxy/HTML_VARIABLES
|