[libproc-processtable-perl] 01/04: Use $Config{vendorarch} to get library path in debian/rules.

gregor herrmann gregoa at debian.org
Mon Aug 11 17:21:53 UTC 2014


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

gregoa pushed a commit to branch master
in repository libproc-processtable-perl.

commit 4e5a8ff262304d68f98bac3883e149c365960ce9
Author: gregor herrmann <gregoa at debian.org>
Date:   Mon Aug 11 19:19:12 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 b49f49f..cadf855 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,8 @@ PACKAGE = $(shell dh_listpackages)
 TMP     = $(CURDIR)/debian/$(PACKAGE)
 PERL   ?= /usr/bin/perl
 ARCH    = $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
+ARCHLIB := $(shell perl -MConfig -e 'print $$Config{vendorarch}')
+
 %:
 	dh $@
 
@@ -15,4 +17,4 @@ endif
 
 override_dh_auto_install:
 	dh_auto_install
-	$(RM) $(TMP)/usr/lib/perl5/Proc/example.pl
+	$(RM) -v $(TMP)/$(ARCHLIB)/Proc/example.pl

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



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