summaryrefslogtreecommitdiffhomepage
path: root/docs/web/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'docs/web/Makefile')
-rw-r--r--docs/web/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/web/Makefile b/docs/web/Makefile
new file mode 100644
index 0000000..9b7c1ff
--- /dev/null
+++ b/docs/web/Makefile
@@ -0,0 +1,15 @@
+# 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
+