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

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

commit a7347ec03d35e518dcc7301238703d303158a072
Author: gregor herrmann <[email protected]>
Date:   Mon Aug 11 19:13:30 2014 +0200

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

diff --git a/debian/rules b/debian/rules
index 6024d92..91987e7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,11 +3,13 @@
 PACKAGE = $(shell dh_listpackages)
 TMP     = $(CURDIR)/debian/$(PACKAGE)
 
+ARCHLIB := $(shell perl -MConfig -e 'print $$Config{vendorarch}')
+
 %:
        dh $@
 
 override_dh_auto_install:
        dh_auto_install
-       rm $(TMP)/usr/lib/perl5/Math/example.pl
-       rm $(TMP)/usr/lib/perl5/Math/test1.pl
-       rm $(TMP)/usr/lib/perl5/Math/test2.pl
+       $(RM) -v $(TMP)/$(ARCHLIB)/Math/example.pl
+       $(RM) -v $(TMP)/$(ARCHLIB)/Math/test1.pl
+       $(RM) -v $(TMP)/$(ARCHLIB)/Math/test2.pl

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libmath-random-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