[libur-perl] 01/02: Re-create UR::Object::Type.3pm manpage from .pm file.
gregor herrmann
gregoa at debian.org
Sat Jun 13 21:50:01 UTC 2015
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libur-perl.
commit 9192c742f28cae5dd6d9d78e53bb4e7f93c5ef5a
Author: gregor herrmann <gregoa at debian.org>
Date: Sat Jun 13 23:47:35 2015 +0200
Re-create UR::Object::Type.3pm manpage from .pm file.
Closes: #788650
---
debian/rules | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/debian/rules b/debian/rules
index 657234c..68bc485 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,17 @@
#!/usr/bin/make -f
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+PACKAGE = $(shell dh_listpackages)
+TMP = $(CURDIR)/debian/$(PACKAGE)
%:
dh $@
+
+override_dh_auto_install:
+ dh_auto_install
+
+ # recreate manpage
+ # cf. #788650
+ $(RM) -v $(TMP)/usr/share/man/man3/UR::Object::Type.3pm
+ pod2man \
+ --section 3pm --name UR::Object::Type \
+ $(TMP)/usr/share/perl5/UR/Object/Type.pm > $(TMP)/usr/share/man/man3/UR::Object::Type.3pm
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libur-perl.git
More information about the Pkg-perl-cvs-commits
mailing list