[DHG_packages] 01/01: hopenpgp-tools: generate man pages with help2man
Clint Adams
clint at moszumanska.debian.org
Fri Aug 12 03:59:16 UTC 2016
This is an automated email from the git hooks/post-receive script.
clint pushed a commit to branch master
in repository DHG_packages.
commit b80306cd03de71db0e43a5a94e3160e9cae26b5c
Author: Clint Adams <clint at debian.org>
Date: Thu Aug 11 23:49:24 2016 -0400
hopenpgp-tools: generate man pages with help2man
---
p/haskell-hopenpgp-tools/debian/changelog | 6 ++++++
p/haskell-hopenpgp-tools/debian/control | 1 +
p/haskell-hopenpgp-tools/debian/hopenpgp-tools.manpages | 3 +++
p/haskell-hopenpgp-tools/debian/manpage-include | 3 +++
p/haskell-hopenpgp-tools/debian/rules | 8 ++++++++
5 files changed, 21 insertions(+)
diff --git a/p/haskell-hopenpgp-tools/debian/changelog b/p/haskell-hopenpgp-tools/debian/changelog
index 90a1d30..0236fa5 100644
--- a/p/haskell-hopenpgp-tools/debian/changelog
+++ b/p/haskell-hopenpgp-tools/debian/changelog
@@ -1,3 +1,9 @@
+haskell-hopenpgp-tools (0.19.2-2) unstable; urgency=medium
+
+ * Generate man pages, thanks to Roger Shimizu. closes: #762023.
+
+ -- Clint Adams <clint at debian.org> Thu, 11 Aug 2016 23:19:23 -0400
+
haskell-hopenpgp-tools (0.19.2-1) unstable; urgency=medium
* New upstream version.
diff --git a/p/haskell-hopenpgp-tools/debian/control b/p/haskell-hopenpgp-tools/debian/control
index db74155..82c414e 100644
--- a/p/haskell-hopenpgp-tools/debian/control
+++ b/p/haskell-hopenpgp-tools/debian/control
@@ -37,6 +37,7 @@ Build-Depends: debhelper (>= 9),
libghc-yaml-dev,
alex,
happy,
+ help2man,
Standards-Version: 3.9.8
Homepage: http://floss.scru.org/hopenpgp-tools
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-haskell/DHG_packages.git/
diff --git a/p/haskell-hopenpgp-tools/debian/hopenpgp-tools.manpages b/p/haskell-hopenpgp-tools/debian/hopenpgp-tools.manpages
new file mode 100644
index 0000000..be9e1d3
--- /dev/null
+++ b/p/haskell-hopenpgp-tools/debian/hopenpgp-tools.manpages
@@ -0,0 +1,3 @@
+hkt.1
+hokey.1
+hot.1
diff --git a/p/haskell-hopenpgp-tools/debian/manpage-include b/p/haskell-hopenpgp-tools/debian/manpage-include
new file mode 100644
index 0000000..d6d9f7e
--- /dev/null
+++ b/p/haskell-hopenpgp-tools/debian/manpage-include
@@ -0,0 +1,3 @@
+[SEE ALSO]
+For usage information of each subcommand, invoke the subcommand
+followed by --help.
diff --git a/p/haskell-hopenpgp-tools/debian/rules b/p/haskell-hopenpgp-tools/debian/rules
index d730346..b733ce0 100755
--- a/p/haskell-hopenpgp-tools/debian/rules
+++ b/p/haskell-hopenpgp-tools/debian/rules
@@ -4,3 +4,11 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/hlibrary.mk
+
+install/hopenpgp-tools:: hkt.1 hokey.1 hot.1
+
+%.1:
+ help2man -N -n "hopenpgp-tools" \
+ --version-string="$(shell dpkg-parsechangelog --show-field Version)" \
+ --include=debian/manpage-include \
+ -o $@ $(patsubst %.1,debian/hopenpgp-tools/usr/bin/%,$@)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-haskell/DHG_packages.git
More information about the Pkg-haskell-commits
mailing list