summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2003-03-17 04:21:11 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2003-03-17 04:21:11 +0000
commit89ede8cd2834a616418822eb3a6825dd26f9b709 (patch)
treee1bee4317ec7b6ec0924086ebc81224ff334e52a
parent232aea721c0e7cb007218924ee20272ba5e3ebbc (diff)
downloadtinyproxy-89ede8cd2834a616418822eb3a6825dd26f9b709.tar.gz
tinyproxy-89ede8cd2834a616418822eb3a6825dd26f9b709.zip
Create the doc/report.sh script from the new template file.
Diffstat (limited to '')
-rw-r--r--doc/Makefile.am18
1 files 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