From a9991133af031e70bc6f58b2bee8ad866c871a50 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sun, 16 Feb 2014 19:44:28 +0900 Subject: [PATCH] Add man page generation script using help2man --- doc/nghttp.h2m | 3 +++ doc/nghttpd.h2m | 3 +++ doc/nghttpx.h2m | 3 +++ makemanpages | 10 ++++++++++ 4 files changed, 19 insertions(+) create mode 100644 doc/nghttp.h2m create mode 100644 doc/nghttpd.h2m create mode 100644 doc/nghttpx.h2m create mode 100755 makemanpages diff --git a/doc/nghttp.h2m b/doc/nghttp.h2m new file mode 100644 index 00000000..f6e533fe --- /dev/null +++ b/doc/nghttp.h2m @@ -0,0 +1,3 @@ +[SEE ALSO] + +nghttpd(1), nghttpx(1) diff --git a/doc/nghttpd.h2m b/doc/nghttpd.h2m new file mode 100644 index 00000000..10751758 --- /dev/null +++ b/doc/nghttpd.h2m @@ -0,0 +1,3 @@ +[SEE ALSO] + +nghttp(1), nghttpx(1) diff --git a/doc/nghttpx.h2m b/doc/nghttpx.h2m new file mode 100644 index 00000000..b43caec7 --- /dev/null +++ b/doc/nghttpx.h2m @@ -0,0 +1,3 @@ +[SEE ALSO] + +nghttp(1), nghttpd(1) diff --git a/makemanpages b/makemanpages new file mode 100755 index 00000000..430772f3 --- /dev/null +++ b/makemanpages @@ -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