[perlipq] 01/05: Use $Config{vendorarch} to get library path in debian/rules.
gregor herrmann
gregoa at debian.org
Mon Aug 11 17:39:12 UTC 2014
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository perlipq.
commit 8560cede02f02029d25321496a049c41f5ef9d90
Author: gregor herrmann <gregoa at debian.org>
Date: Mon Aug 11 19:35:39 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 18a302d..3aab1ed 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,10 +3,12 @@
PACKAGE = $(shell dh_listpackages)
TMP = $(CURDIR)/debian/$(PACKAGE)
+ARCHLIB := $(shell perl -MConfig -e 'print $$Config{vendorarch}')
+
%:
dh $@
override_dh_auto_install:
dh_auto_install
# installed as examples
- $(RM) -v $(TMP)/usr/lib/perl5/IPTables/IPv4/*.pl
+ $(RM) -v $(TMP)/$(ARCHLIB)/IPTables/IPv4/*.pl
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/perlipq.git
More information about the Pkg-perl-cvs-commits
mailing list