[libmodule-install-perl] 07/08: debian/rules: remove or recreate manpages created from POD fragments.
gregor herrmann
gregoa at debian.org
Sat Jul 12 17:25:23 UTC 2014
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libmodule-install-perl.
commit 39f76317fe170d85d214c9d5d5f2965404bedcf0
Author: gregor herrmann <gregoa at debian.org>
Date: Sat Jul 12 19:20:34 2014 +0200
debian/rules: remove or recreate manpages created from POD fragments.
---
debian/rules | 27 ++++++++++++++++++++++++++-
1 file changed, 26 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 569ec48..418c100 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,4 +8,29 @@ TMP = $(CURDIR)/debian/$(PACKAGE)
override_dh_auto_install:
dh_auto_install
- rm $(TMP)/usr/share/man/man3/Module::Install::Admin::Manifest.3pm
+
+ # handle POD/manpage fun. cf. https://rt.cpan.org/Ticket/Display.html?id=97176
+ # 1) recreate manpage from .pod instead of fragment in .pm
+ pod2man --section=3pm --utf8 $(CURDIR)/lib/Module/Install.pod > $(TMP)/usr/share/man/man3/Module::Install.3pm
+ # 2) remove manpage fragments
+ for m in \
+ Module::Install::Admin::Bundle.3pm \
+ Module::Install::Admin::Compiler.3pm \
+ Module::Install::Admin::Find.3pm \
+ Module::Install::Admin::Makefile.3pm \
+ Module::Install::Admin::Manifest.3pm \
+ Module::Install::Admin::Metadata.3pm \
+ Module::Install::Admin::ScanDeps.3pm \
+ Module::Install::Admin::WriteAll.3pm \
+ Module::Install::AutoInstall.3pm \
+ Module::Install::DSL.3pm \
+ Module::Install::Fetch.3pm \
+ Module::Install::Include.3pm \
+ Module::Install::Inline.3pm \
+ Module::Install::MakeMaker.3pm \
+ Module::Install::Metadata.3pm \
+ Module::Install::Run.3pm \
+ Module::Install::Scripts.3pm \
+ Module::Install::Win32.3pm \
+ Module::Install::WriteAll.3pm \
+ ; do $(RM) -v $(TMP)/usr/share/man/man3/$$m ; done
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmodule-install-perl.git
More information about the Pkg-perl-cvs-commits
mailing list