package: how-can-i-help
severity: wishlist

Hi,

please merge the branch feature/manpage so that how-can-i-help gets a manpage.


cheers,
        Holger

commit 957df35b6399ec7a6664bb82963c2f2ccf20847f
Author: Holger Levsen <hol...@layer-acht.org>
Date:   Sun Aug 25 22:15:30 2013 +0000

    Add manpage, thus add asciidoc to build-depends.

diff --git a/debian/changelog b/debian/changelog
index 2c80d35..d7f10d7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+how-can-i-help (0.4) UNRELEASED; urgency=low
+
+  * Add manpage, thus add asciidoc to build-depends.
+
+ -- Holger Levsen <hol...@debian.org>  Mon, 26 Aug 2013 00:10:36 +0200
+
 how-can-i-help (0.3) experimental; urgency=low
 
   * Test for existence of /usr/bin/how-can-i-help in the APT hook,
diff --git a/debian/control b/debian/control
index e082946..628dcf4 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: how-can-i-help
 Section: devel
 Priority: optional
 Maintainer: Lucas Nussbaum <lu...@debian.org>
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.4.1~)
+Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.4.1~), asciidoc
 Standards-Version: 3.9.4
 Vcs-Git: git://anonscm.debian.org/collab-maint/how-can-i-help.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/how-can-i-help.git;a=summary
diff --git a/debian/how-can-i-help.manpages b/debian/how-can-i-help.manpages
new file mode 100644
index 0000000..a4c5bad
--- /dev/null
+++ b/debian/how-can-i-help.manpages
@@ -0,0 +1 @@
+how-can-i-help.1
diff --git a/debian/rules b/debian/rules
index e01c781..f256e63 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,3 +1,11 @@
 #!/usr/bin/make -f
 %:
 	dh $@ --buildsystem=ruby --with ruby
+
+override_dh_auto_build:
+	a2x -f manpage how-can-i-help.1.txt
+	dh_auto_build
+
+override_dh_auto_clean:
+	rm -f how-can-i-help.1
+	dh_auto_clean
diff --git a/how-can-i-help.1.txt b/how-can-i-help.1.txt
new file mode 100644
index 0000000..b884bfb
--- /dev/null
+++ b/how-can-i-help.1.txt
@@ -0,0 +1,42 @@
+how-can-i-help(1)
+================
+:doctype: manpage
+
+NAME
+----
+how-can-i-help - show opportunities for contributing to Debian
+
+SYNOPSIS
+--------
+*how-can-i-help* ['-ah'] ['--help'] ['--all']
+
+DESCRIPTION
+-----------
+*how-can-i-help* hooks into APT to list opportunities for contributions to
+Debian (orphaned packages, bugs tagged 'gift') for packages installed
+locally, after each APT invocation. It can also be invoked directly, and
+then lists all opportunities for contribution (not just the new ones).
+
+OPTIONS
+-------
+Options must come before the other command line arguments.
+
+*-h*, *--help*::
+  Show some help.
+
+*-a*, *--all*::
+  Show all opportunities for contribution.
+
+SEE ALSO
+--------
+https://wiki.debian.org/Community
+
+AUTHOR
+------
+Lucas Nussbaum (lu...@debian.org)
+
+DATE
+----
+2013-08-26
+
+// vim: set filetype=asciidoc:

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to