[libcdb-file-perl] 01/03: Use $Config{vendorarch} in debian/rules
gregor herrmann
gregoa at debian.org
Mon Jun 2 18:51:23 UTC 2014
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libcdb-file-perl.
commit 290e548ffabc4bbaa4a02d497bec8a1bd8a1ca20
Author: gregor herrmann <gregoa at debian.org>
Date: Mon Jun 2 20:47:00 2014 +0200
Use $Config{vendorarch} in debian/rules
as a preparation for the multi-arched perl 5.20.
---
debian/rules | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index f724543..41fac68 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,11 +2,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
- rm $(TMP)/usr/lib/perl5/bun-x.pl
+ rm $(TMP)$(ARCHLIB)/bun-x.pl
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcdb-file-perl.git
More information about the Pkg-perl-cvs-commits
mailing list