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 7b49c44426ec06180657c8513a110fb753e71371
Author: gregor herrmann <gre...@debian.org>
Date:   Tue May 13 21:08:31 2014 +0200

    d/rules: use variables to get this a bit more readable
    
    Git-Dch: Ignore
---
 debian/rules | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/debian/rules b/debian/rules
index 4419719..25f14a6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,11 +1,14 @@
 #!/usr/bin/make -f
 
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
+
 %:
        dh $@
 
 override_dh_auto_install:
        dh_auto_install
-       mv debian/libmath-prime-util-perl/usr/bin/primes.pl 
debian/libmath-prime-util-perl/usr/bin/primes
-       mkdir -p debian/libmath-prime-util-perl/usr/share/man/man1
-       PERL5LIB=debian/libmath-prime-util-perl/usr/lib/perl5 help2man -n 
'Display all primes' --no-info --no-discard-stderr 
debian/libmath-prime-util-perl/usr/bin/primes | gzip -9 > 
debian/libmath-prime-util-perl/usr/share/man/man1/primes.1.gz
-       PERL5LIB=debian/libmath-prime-util-perl/usr/lib/perl5 help2man -n 
'Print prime factors' --no-info --no-discard-stderr 
debian/libmath-prime-util-perl/usr/bin/factor.pl | gzip -9 > 
debian/libmath-prime-util-perl/usr/share/man/man1/factor.pl.1.gz
+       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

-- 
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
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to