Build and install git-pbuilder manpage
authorGuido Günther <agx@sigxcpu.org>
Thu, 12 Aug 2010 16:37:06 +0000 (18:37 +0200)
committerGuido Günther <agx@sigxcpu.org>
Thu, 12 Aug 2010 16:37:44 +0000 (18:37 +0200)
debian/control
debian/rules

index c9a63ca..42e00f4 100644 (file)
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: Guido Günther <agx@sigxcpu.org>
 Build-Depends: cdbs, debhelper (>= 5), python, python-support (>= 0.3),
  pychecker, gtk-doc-tools, sgml2x, docbook-utils, jade, python-dateutil, python-nose,
- bash-completion
+ bash-completion, perl
 Standards-Version: 3.9.1
 Vcs-Git: git://honk.sigxcpu.org/git/git-buildpackage.git
 Vcs-Browser: http://git.debian.org/?p=users/agx/git-buildpackage.git
index 8a1d813..b81ad94 100755 (executable)
@@ -23,7 +23,9 @@ EXAMPLE_SCRIPTS=\
 
 DEB_COMPRESS_EXCLUDE=$(EXAMPLE_SCRIPTS)
 
-MANPAGES=$(patsubst %,docs/%.1,$(COMMANDS) gbp-pq)
+SGML_MANPAGES=$(patsubst %,docs/%.1,$(COMMANDS) gbp-pq)
+POD_MANPAGES=docs/git-pbuilder.1
+MANPAGES=$(SGML_MANPAGES) $(POD_MANPAGES)
 MANUAL=docs/manual-html
 PYCHECKS=$(patsubst %,%.py,$(COMMANDS))
 PYCHECK_LEVEL=Error
@@ -39,6 +41,9 @@ $(MANUAL): docs/manual.sgml docs/chapters/*.sgml docs/manpages/*.sgml
        docbook-2-html -s local $<
        cp /usr/share/gtk-doc/data/*.png $(MANUAL)
 
+docs/git-pbuilder.1: git-pbuilder
+       pod2man $< $@
+
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 checks: $(PYCHECKS)
        nosetests --with-doctest