[libhtml-parser-perl] 03/09: Recreate HTML::Entities(3) manpage during build

gregor herrmann gregoa at debian.org
Sun Jun 7 17:22:36 UTC 2015


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libhtml-parser-perl.

commit 6a9a430815290f241b350373198ac43d8d6acbbf
Author: gregor herrmann <gregoa at debian.org>
Date:   Sun Jun 7 19:11:18 2015 +0200

    Recreate HTML::Entities(3) manpage during build
    
    to ensure UTF-8 encoding.
    
    Thanks: Mathieu Roy for the bug report.
    Closes: #787826
---
 debian/rules | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/debian/rules b/debian/rules
index 4918605..fb53f43 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,10 @@ PACKAGE=$(shell dh_listpackages)
 %:
 	dh $@
 
+override_dh_auto_build:
+	dh_auto_build
+	pod2man --utf8 --section 3pm $(CURDIR)/blib/lib/HTML/Entities.pm > $(CURDIR)/blib/man3/HTML::Entities.3pm
+
 override_dh_fixperms:
 	dh_fixperms
 	chmod a+x debian/$(PACKAGE)/usr/share/doc/$(PACKAGE)/examples/h*

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libhtml-parser-perl.git



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