Add man page generation script using help2man

This commit is contained in:
Tatsuhiro Tsujikawa 2014-02-16 19:44:28 +09:00
parent f5342494f4
commit a9991133af
4 changed files with 19 additions and 0 deletions

3
doc/nghttp.h2m Normal file
View File

@ -0,0 +1,3 @@
[SEE ALSO]
nghttpd(1), nghttpx(1)

3
doc/nghttpd.h2m Normal file
View File

@ -0,0 +1,3 @@
[SEE ALSO]
nghttp(1), nghttpx(1)

3
doc/nghttpx.h2m Normal file
View File

@ -0,0 +1,3 @@
[SEE ALSO]
nghttp(1), nghttpd(1)

10
makemanpages Executable file
View File

@ -0,0 +1,10 @@
#!/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