[Lunar-commits] <moonbase> help2man: a utility to convert --help into man pages

Dave Brown dagbrown at lunar-linux.org
Thu Jan 8 08:35:19 CET 2009


commit 3371f4129c3017671f001b5502b27bcfc5161de3
Author: Dave Brown <dagbrown at lunar-linux.org>
Date:   Thu Jan 8 16:35:19 2009 +0900

    help2man: a utility to convert --help into man pages
    
    This is used by calibre (and nothing else that I'm aware of, except
    possibly Debian) to automaticaly convert --help and --version output
    into man pages.
---
 utils/help2man/DEPENDS |    1 +
 utils/help2man/DETAILS |   23 +++++++++++++++++++++++
 2 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/utils/help2man/DEPENDS b/utils/help2man/DEPENDS
new file mode 100644
index 0000000..de5f9d4
--- /dev/null
+++ b/utils/help2man/DEPENDS
@@ -0,0 +1 @@
+depends Locale-gettext
diff --git a/utils/help2man/DETAILS b/utils/help2man/DETAILS
new file mode 100644
index 0000000..3ef143c
--- /dev/null
+++ b/utils/help2man/DETAILS
@@ -0,0 +1,23 @@
+          MODULE=help2man
+         VERSION=1.36.4
+          SOURCE=$MODULE-$VERSION.tar.gz
+   SOURCE_URL[0]=$GNU_URL/$MODULE/
+   SOURCE_URL[1]=ftp://ftp.gnu.org/gnu/$MODULE/
+      SOURCE_VFY=sha1:f3ffd89d50ee158589f2d0ccdc476d2ac3ebff70
+        WEB_SITE=http://www.gnu.org/software/$MODULE/
+         ENTERED=20090108
+         UPDATED=20090108
+           SHORT="a utility that converts --help output to a man page"
+
+cat << EOF
+help2man is a tool for automatically generating simple manual pages from
+program output.
+
+It is intended to provide an easy way for software authors to include a
+manual page in their distribution without having to maintain that
+document.
+
+Given a program which produces resonably standard --help and --version
+outputs, help2man will attempt to re-arrange that output into something
+which resembles a manual page.
+EOF


More information about the Lunar-commits mailing list