[perl-openssl-defaults] 03/05: Run pod2man in a separate debian/rules target

ntyni at debian.org ntyni at debian.org
Tue Dec 20 21:53:33 UTC 2016


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

ntyni pushed a commit to branch master
in repository perl-openssl-defaults.

commit 3e6b061544a1d64afd7352f6028599ddb20a7998
Author: Niko Tyni <ntyni at debian.org>
Date:   Tue Dec 20 23:03:49 2016 +0200

    Run pod2man in a separate debian/rules target
    
    This hopefully clarifies the rules file a bit.
---
 debian/rules | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/debian/rules b/debian/rules
index 096516d..5c7bccb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,6 +23,9 @@ debian/perl-openssl.make: debian/openssl-abiversion
 	"PERL_OPENSSL_ABI_VERSION=$(shell cat $<)" \
 	> $@
 
+debian/dh_perl_openssl.1: debian/dh_perl_openssl
+	pod2man $< $@
+
 # we build a binary called 'openssl-version' just to be able to generate
 # a libssl* dependency. dh_shlibdeps won't run if nothing in installed
 # in the binary package, so we run dpkg-shlibdeps by hand
@@ -33,9 +36,8 @@ override_dh_shlibdeps:
 override_dh_gencontrol: debian/openssl-abiversion
 	dh_gencontrol -- -Vperl-openssl-abi-version=$(shell cat $<)
 
-override_dh_auto_build: debian/perl-openssl.make
-	pod2man debian/dh_perl_openssl debian/dh_perl_openssl.1
-	CC=$(CC) dh_auto_build
+override_dh_auto_build: debian/perl-openssl.make debian/dh_perl_openssl.1
+	dh_auto_build -- CC=$(CC)
 
 %:
 	dh $@

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



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