summaryrefslogtreecommitdiff
path: root/doc/Makefile.am
blob: b046cb62fb7a57786fa787941a2ccbd99d502f5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# HTML Variable Substitution Files
HTML_VAR_SUBST = HTML_VARIABLES debug.html default.html stats.html
man_MANS = tinyproxy.8

EXTRA_DIST = $(man_MANS) tinyproxy.conf \
	HTTP_ERROR_CODES RFC_INFO \
	releases.txt \
	filter-howto.txt \
	report.sh.tmpl \
	$(HTML_VAR_SUBST)

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 ""