From 89ede8cd2834a616418822eb3a6825dd26f9b709 Mon Sep 17 00:00:00 2001 From: Robert James Kaes Date: Mon, 17 Mar 2003 04:21:11 +0000 Subject: Create the doc/report.sh script from the new template file. --- doc/Makefile.am | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/doc/Makefile.am b/doc/Makefile.am index 3be7b84..b046cb6 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,11 +1,23 @@ # HTML Variable Substitution Files HTML_VAR_SUBST = HTML_VARIABLES debug.html default.html stats.html +man_MANS = tinyproxy.8 -EXTRA_DIST = tinyproxy.8 tinyproxy.conf \ +EXTRA_DIST = $(man_MANS) tinyproxy.conf \ HTTP_ERROR_CODES RFC_INFO \ releases.txt \ filter-howto.txt \ - report.sh \ + report.sh.tmpl \ $(HTML_VAR_SUBST) -man_MANS = tinyproxy.8 +install-exec-local: report.sh + +# Build the report.sh script +report.sh: $(srcdir)/report.sh.tmpl + sed -e "s,@TINYPROXY_LOCATION@,$(DESTDIR)$(sbindir)," < $(srcdir)/report.sh.tmpl > $(top_builddir)/doc/report.sh + chmod 755 $(top_builddir)/doc/report.sh + @echo "" + @echo "Report tinyproxy" + @echo "----------------" + @echo "Run the $(top_builddir)/doc/report.sh script to report a" + @echo "successful installation to the authors." + @echo "" \ No newline at end of file -- cgit v1.2.3