doc: Move templates to data/templates/ directory
This commit is contained in:
parent
d7296318a0
commit
f3e06436b5
@ -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
|
||||
|
@ -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
|
||||
|
2
data/Makefile.am
Normal file
2
data/Makefile.am
Normal file
@ -0,0 +1,2 @@
|
||||
SUBDIRS = \
|
||||
templates
|
7
data/templates/Makefile.am
Normal file
7
data/templates/Makefile.am
Normal file
@ -0,0 +1,7 @@
|
||||
TEMPLATES = \
|
||||
debug.html \
|
||||
default.html \
|
||||
stats.html
|
||||
|
||||
EXTRA_DIST = \
|
||||
$(TEMPLATES)
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user