[libtrycatch-perl] 01/02: Use $Config{vendorarch} to get library path in debian/rules.
gregor herrmann
gregoa at debian.org
Mon Aug 11 17:34:20 UTC 2014
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libtrycatch-perl.
commit 236123168ebc97df5c9b831fa1c288bbdf632d85
Author: gregor herrmann <gregoa at debian.org>
Date: Mon Aug 11 19:30:56 2014 +0200
Use $Config{vendorarch} to get library path in debian/rules.
---
debian/rules | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 9c3d223..2972de0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -46,5 +46,6 @@ CDBS_BUILD_DEPENDS +=, $(deps), $(deps-test)
CDBS_DEPENDS_$(pkg) = $(deps)
# Remove bogusly installed benchmarking(?) files
+ARCHLIB := $(shell perl -MConfig -e 'print $$Config{vendorarch}')
binary-post-install/$(pkg)::
- rm -f $(DEB_DESTDIR)/usr/lib/perl5/bench*
+ rm -f $(DEB_DESTDIR)/$(ARCHLIB)/bench*
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libtrycatch-perl.git
More information about the Pkg-perl-cvs-commits
mailing list