[libmpikmeans] 22/29: rules: Install to multi-arch locations

Christian Kastner chrisk-guest at moszumanska.debian.org
Mon Aug 25 21:20:01 UTC 2014


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

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

commit 5e948783ab34b42747711d5492598d613939005b
Author: Christian Kastner <debian at kvr.at>
Date:   Sun Jul 27 01:10:09 2014 +0200

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

diff --git a/debian/rules b/debian/rules
index 5b74478..9ca3402 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,6 +22,8 @@ DEB_CFLAGS_MAINT_APPEND += -Wall -Wno-unused
 DPKG_EXPORT_BUILDFLAGS = 1
 include /usr/share/dpkg/buildflags.mk
 
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+
 
 %:
 	dh $@ --with python2
@@ -33,5 +35,8 @@ override_dh_auto_build:
 		PYVER=$$py make python; \
 	done
 
+override_dh_auto_install:
+	dh_auto_install -- libdir=/usr/lib/$(DEB_HOST_MULTIARCH)/
+
 override_dh_strip:
 	dh_strip --dbg-package=libmpikmeans-dbg

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



More information about the debian-science-commits mailing list