[libcommon-sense-perl] 04/09: debian/rules: recreate manpage from now separate POD file.

gregor herrmann gregoa at debian.org
Fri Aug 9 19:02:33 UTC 2013


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libcommon-sense-perl.

commit 1162e132d4e8208ed16fa3bba2530f504ed855d3
Author: gregor herrmann <gregoa at debian.org>
Date:   Fri Aug 9 20:28:00 2013 +0200

    debian/rules: recreate manpage from now separate POD file.
---
 debian/rules |    9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/debian/rules b/debian/rules
index 2d33f6a..63b8f59 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,13 @@
 #!/usr/bin/make -f
 
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
+
 %:
 	dh $@
+
+override_dh_auto_install:
+	dh_auto_install
+	pod2man --utf8 --section 3pm \
+		$(TMP)/usr/lib/perl5/common/sense.pod > \
+		$(TMP)/usr/share/man/man3/common::sense.3pm

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcommon-sense-perl.git



More information about the Pkg-perl-cvs-commits mailing list