[SCM] Debian packaging of libnet-twitter-perl branch, master, updated. debian/4.00004-1-7-gb3df373

gregor herrmann gregoa at debian.org
Wed Jun 12 15:08:06 UTC 2013


The following commit has been merged in the master branch:
commit e651d9a28e8fa8b178e2acf9c71a5ab01c2d6b17
Author: gregor herrmann <gregoa at debian.org>
Date:   Wed Jun 12 17:02:17 2013 +0200

    Install "real" manpage from Net/Twitter.pod as Net::Twitter(3pm).
    
    Thanks: Vincent Lefevre for the bug report.
    Closes: #712006

diff --git a/debian/rules b/debian/rules
index 8e314d9..eac5cf5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,4 +11,12 @@ override_dh_auto_test:
 
 override_dh_auto_install:
 	dh_auto_install
+
+	# remove empty manpage and install .pod as manpage
+	# cf. #712006
+	$(RM) -v $(TMP)/usr/share/man/man3/Net::Twitter.3pm
+	pod2man \
+		--section 3pm --name Net::Twitter \
+		$(TMP)/usr/share/perl5/Net/Twitter.pod > $(TMP)/usr/share/man/man3/Net::Twitter.3pm
+
 	sed -i '1,2 d' $(TMP)/usr/share/perl5/Net/Twitter.pod

-- 
Debian packaging of libnet-twitter-perl



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