[libfile-share-perl] 07/08: Re-create manpage from .pod instead of .pm file.
gregor herrmann
gregoa at debian.org
Wed Oct 2 20:59:42 UTC 2013
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libfile-share-perl.
commit c9e3fc4685511e078ee94c69daf411868b0eae32
Author: gregor herrmann <gregoa at debian.org>
Date: Wed Oct 2 22:58:08 2013 +0200
Re-create manpage from .pod instead of .pm file.
Fix for manpage-has-bad-whatis-entry detected by lintian.
---
debian/rules | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/debian/rules b/debian/rules
index 2d33f6a..04c23ee 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
+ # recreate manpage from POD
+ pod2man -u --section 3pm --name File::Share \
+ $(TMP)/usr/share/perl5/File/Share.pod > $(TMP)/usr/share/man/man3/File::Share.3pm
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libfile-share-perl.git
More information about the Pkg-perl-cvs-commits
mailing list