[libnet-twitter-lite-perl] 01/02: Re-create manpage from .pod file.
gregor herrmann
gregoa at debian.org
Sat Jun 13 21:26:08 UTC 2015
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libnet-twitter-lite-perl.
commit ebce6fa79ff44b4fb0801d0fce6e237684a0463e
Author: gregor herrmann <gregoa at debian.org>
Date: Sat Jun 13 23:24:11 2015 +0200
Re-create manpage from .pod file.
Closes: #788647
---
debian/rules | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/debian/rules b/debian/rules
index 2d33f6a..23037e5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,17 @@
#!/usr/bin/make -f
+PACKAGE = $(shell dh_listpackages)
+TMP = $(CURDIR)/debian/$(PACKAGE)
+
%:
dh $@
+
+override_dh_auto_install:
+ dh_auto_install
+
+ # remove empty manpage and install .pod as manpage
+ # cf. #712006 and #788647
+ $(RM) -v $(TMP)/usr/share/man/man3/Net::Twitter::Lite.3pm
+ pod2man \
+ --section 3pm --name Net::Twitter::Lite \
+ $(TMP)/usr/share/perl5/Net/Twitter/Lite.pod > $(TMP)/usr/share/man/man3/Net::Twitter::Lite.3pm
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libnet-twitter-lite-perl.git
More information about the Pkg-perl-cvs-commits
mailing list