[liblinear] 118/123: rules: Install to multi-arch destinations

Christian Kastner chrisk-guest at moszumanska.debian.org
Tue Aug 26 03:42:15 UTC 2014


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

chrisk-guest pushed a commit to branch master
in repository liblinear.

commit 68af4e63357b6788c0ffd07c685ebcc3193a4e52
Author: Christian Kastner <debian at kvr.at>
Date:   Sat Jul 26 22:28:32 2014 +0200

    rules: Install to multi-arch destinations
---
 debian/rules | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/debian/rules b/debian/rules
index cc70e97..7d3952b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -27,11 +27,15 @@ ifeq (amd64,$(DEB_HOST_ARCH))
 endif
 endif
 
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
 %:
 	dh $@ --with=python2
 
 
+override_dh_auto_install:
+	dh_auto_install -- libdir=/usr/lib/$(DEB_HOST_MULTIARCH)/
+
 # Help out backporters on platforms not supporting c++ tags in symbols files
 override_dh_makeshlibs:
 	dpkg --compare-versions "$(DPKGVER)" ge "1.15.6" || \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/liblinear.git



More information about the debian-science-commits mailing list