51b8be3ee4
this allows to automatically generate the website from the current tinyproxy.conf.5 template. make cd docs/web make
16 lines
293 B
Makefile
16 lines
293 B
Makefile
# test webpage with `python -m SimpleHTTPServer`
|
|
|
|
all: index.html
|
|
|
|
tp.html.conf: ../man5/tinyproxy.conf.txt
|
|
pod2html --noindex < $^ | awk -f podhtml-filter.awk > $@
|
|
|
|
index.html: tp.html.head tp.html.conf tp.html.foot
|
|
cat $^ > $@
|
|
|
|
clean:
|
|
rm tp.html.conf index.html *.tmp
|
|
|
|
.PHONY: all clean
|
|
|