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

gregoa pushed a commit to branch master
in repository libmath-prime-util-perl.

commit d17623dad56dd68ff2eee0f61c1440be244d2d02
Author: gregor herrmann <[email protected]>
Date:   Mon Aug 11 19:09:12 2014 +0200

    Use $Config{vendorarch} to get library path in debian/rules.
---
 debian/rules | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 25f14a6..2df3911 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,8 @@
 PACKAGE = $(shell dh_listpackages)
 TMP     = $(CURDIR)/debian/$(PACKAGE)
 
+ARCHLIB := $(shell perl -MConfig -e 'print $$Config{vendorarch}')
+
 %:
        dh $@
 
@@ -10,5 +12,5 @@ override_dh_auto_install:
        dh_auto_install
        mv $(TMP)/usr/bin/primes.pl $(TMP)/usr/bin/primes
        mkdir -p $(TMP)/usr/share/man/man1
-       PERL5LIB=$(TMP)/usr/lib/perl5 help2man -n 'Display all primes' 
--no-info --no-discard-stderr $(TMP)/usr/bin/primes | gzip -9 > 
$(TMP)/usr/share/man/man1/primes.1.gz
-       PERL5LIB=$(TMP)/usr/lib/perl5 help2man -n 'Print prime factors' 
--no-info --no-discard-stderr $(TMP)/usr/bin/factor.pl | gzip -9 > 
$(TMP)/usr/share/man/man1/factor.pl.1.gz
+       PERL5LIB=$(TMP)/$(ARCHLIB) help2man -n 'Display all primes' --no-info 
--no-discard-stderr $(TMP)/usr/bin/primes | gzip -9 > 
$(TMP)/usr/share/man/man1/primes.1.gz
+       PERL5LIB=$(TMP)/$(ARCHLIB) help2man -n 'Print prime factors' --no-info 
--no-discard-stderr $(TMP)/usr/bin/factor.pl | gzip -9 > 
$(TMP)/usr/share/man/man1/factor.pl.1.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libmath-prime-util-perl.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to