[med-svn] [camp] 01/02: Fixed multiarch support.

Flavien Bridault fbridault-guest at moszumanska.debian.org
Thu Nov 24 14:00:44 UTC 2016


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

fbridault-guest pushed a commit to branch master
in repository camp.

commit e6126763e4b6b7b8f05ec17f179b844aaf760f30
Author: Flavien Bridault <fbridault at ircad.fr>
Date:   Thu Nov 24 14:55:50 2016 +0100

    Fixed multiarch support.
---
 debian/rules | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index f036cda..072abd6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,8 +1,13 @@
 #!/usr/bin/make -f
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+export DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
 %:
 	dh $@
 
+override_dh_install-arch:
+	mkdir -p debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)
+	cp -dR debian/tmp/usr/lib/lib* debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)
+	dh_install
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/camp.git



More information about the debian-med-commit mailing list