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

gregoa pushed a commit to branch master
in repository libimage-librsvg-perl.

commit b230f7c913bf17323b83b2a306b044316c2ea8f3
Author: gregor herrmann <[email protected]>
Date:   Mon Aug 11 18:51:22 2014 +0200

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

diff --git a/debian/rules b/debian/rules
index 70c4793..f315efc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,6 +7,8 @@ CFLAGS:=        $(shell dpkg-buildflags --get CFLAGS)
 CPPFLAGS:=     $(shell dpkg-buildflags --get CPPFLAGS)
 LDFLAGS:=      $(shell dpkg-buildflags --get LDFLAGS)
 
+ARCHLIB := $(shell perl -MConfig -e 'print $$Config{vendorarch}')
+
 export CFLAGS CPPFLAGS LDFLAGS
 
 override_dh_auto_configure:
@@ -17,7 +19,7 @@ override_dh_auto_build:
 
 override_dh_auto_install:
        dh_auto_install
-       rm -f $(TMP)/usr/lib/perl5/Image/examples.pl
+       $(RM) -v $(TMP)/$(ARCHLIB)/Image/examples.pl
 
 override_dh_installexamples:
        dh_installexamples -Xsvg.gz examples/*

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