third_party_nghttp2/makemanpages

18 lines
581 B
Plaintext
Raw Normal View History

#!/bin/sh -e
help2man --output=doc/nghttp.1 --name="HTTP/2 experimental client" \
-N --include doc/nghttp.h2m src/nghttp
help2man --output=doc/nghttpd.1 --name="HTTP/2 experimental server" \
-N --include doc/nghttpd.h2m src/nghttpd
help2man --output=doc/nghttpx.1 --name="HTTP/2 experimental proxy" \
-N --include doc/nghttpx.h2m src/nghttpx
2014-05-09 15:19:02 +00:00
help2man --output=doc/h2load.1 --name="HTTP/2 benchmarking tool" \
-N --include doc/h2load.h2m src/h2load
for file in doc/nghttp.1 doc/nghttpd.1 doc/nghttpx.1 doc/h2load.1; do
./man2rst.py < $file > $file.rst
done