summaryrefslogtreecommitdiffstats
path: root/makemanpages
diff options
context:
space:
mode:
Diffstat (limited to 'makemanpages')
-rwxr-xr-xmakemanpages12
1 files changed, 12 insertions, 0 deletions
diff --git a/makemanpages b/makemanpages
new file mode 100755
index 0000000..0b7c54e
--- /dev/null
+++ b/makemanpages
@@ -0,0 +1,12 @@
+#!/bin/sh -e
+
+for prog in nghttp nghttpd nghttpx h2load; do
+ src/$prog -h | ./help2rst.py -i doc/$prog.h2r > doc/$prog.1.rst
+done
+
+cd doc
+make man
+
+for prog in nghttp nghttpd nghttpx h2load; do
+ cp manual/man/$prog.1 $prog.1
+done