diff options
author | Mukund Sivaraman <muks@banu.com> | 2009-09-13 03:48:24 +0530 |
---|---|---|
committer | Mukund Sivaraman <muks@banu.com> | 2009-09-13 03:48:24 +0530 |
commit | f3e06436b5a6081e71c6308ca136e9ff1fa1ebef (patch) | |
tree | a64b12c3e7bc60ca4ec085c030237f8a662e4b79 | |
parent | d7296318a0f5d7ee06b0358911889b64599f9ce5 (diff) | |
download | tinyproxy-f3e06436b5a6081e71c6308ca136e9ff1fa1ebef.tar.gz tinyproxy-f3e06436b5a6081e71c6308ca136e9ff1fa1ebef.zip |
doc: Move templates to data/templates/ directory
-rw-r--r-- | Makefile.am | 6 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | data/Makefile.am | 2 | ||||
-rw-r--r-- | data/templates/Makefile.am | 7 | ||||
-rw-r--r-- | data/templates/debug.html (renamed from doc/debug.html) | 0 | ||||
-rw-r--r-- | data/templates/default.html (renamed from doc/default.html) | 0 | ||||
-rw-r--r-- | data/templates/stats.html (renamed from doc/stats.html) | 0 | ||||
-rw-r--r-- | doc/Makefile.am | 9 |
8 files changed, 16 insertions, 10 deletions
diff --git a/Makefile.am b/Makefile.am index a71d46b..db684cf 100644 --- a/Makefile.am +++ b/Makefile.am @@ -6,7 +6,7 @@ CONFIG_FILES = \ m4macros/typecheck.m4 m4macros/argenable.m4 EXTRA_DIST = $(CONFIG_FILES) TODO autogen.sh -SUBDIRS = src doc packaging +SUBDIRS = src data doc packaging install-data-local: tinyproxy-configure-file tinyproxy-html-files @@ -38,8 +38,8 @@ tinyproxy-html-files: $(mkinstalldirs) $(DESTDIR)$(datadir)/tinyproxy for file in debug default stats; do \ - $(INSTALL) -m 644 $(srcdir)/doc/$$file.html $(DESTDIR)$(datadir)/tinyproxy/$$file.html.dist ; \ + $(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)/doc/$$file.html $(DESTDIR)$(datadir)/tinyproxy/$$file.html ; \ + $(INSTALL) -m 644 $(srcdir)/data/templates/$$file.html $(DESTDIR)$(datadir)/tinyproxy/$$file.html ; \ done $(INSTALL) -m 644 $(srcdir)/doc/HTML_VARIABLES $(DESTDIR)$(datadir)/tinyproxy/HTML_VARIABLES diff --git a/configure.ac b/configure.ac index 7164905..fa969ef 100644 --- a/configure.ac +++ b/configure.ac @@ -326,6 +326,8 @@ AM_CONDITIONAL(HAVE_A2X, test "x$A2X" != "xno") AC_CONFIG_FILES([ Makefile src/Makefile +data/Makefile +data/templates/Makefile doc/Makefile doc/man8/Makefile packaging/Makefile diff --git a/data/Makefile.am b/data/Makefile.am new file mode 100644 index 0000000..4a03cc5 --- /dev/null +++ b/data/Makefile.am @@ -0,0 +1,2 @@ +SUBDIRS = \ + templates diff --git a/data/templates/Makefile.am b/data/templates/Makefile.am new file mode 100644 index 0000000..5c2f1be --- /dev/null +++ b/data/templates/Makefile.am @@ -0,0 +1,7 @@ +TEMPLATES = \ + debug.html \ + default.html \ + stats.html + +EXTRA_DIST = \ + $(TEMPLATES) diff --git a/doc/debug.html b/data/templates/debug.html index 6ee3367..6ee3367 100644 --- a/doc/debug.html +++ b/data/templates/debug.html diff --git a/doc/default.html b/data/templates/default.html index 67354b7..67354b7 100644 --- a/doc/default.html +++ b/data/templates/default.html diff --git a/doc/stats.html b/data/templates/stats.html index 7179859..7179859 100644 --- a/doc/stats.html +++ b/data/templates/stats.html diff --git a/doc/Makefile.am b/doc/Makefile.am index 6cbe3cc..ade0939 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,15 +1,10 @@ SUBDIRS = \ man8 -TEMPLATES = \ - debug.html \ - default.html \ - stats.html - EXTRA_DIST = \ tinyproxy.conf \ HTML_VARIABLES \ HTTP_ERROR_CODES \ RFC_INFO \ - filter-howto.txt \ - $(TEMPLATES) + filter-howto.txt + |