[SCM] clxclient/master: Set PREFIX, LIBDIR and DESTDIR in rules file

mira-guest at users.alioth.debian.org mira-guest at users.alioth.debian.org
Thu Feb 2 00:13:00 UTC 2012


The following commit has been merged in the master branch:
commit 9718e989ba3b0f32fff7b98173828fcbeed6e81a
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date:   Thu Feb 2 01:07:17 2012 +0100

    Set PREFIX, LIBDIR and DESTDIR in rules file

diff --git a/debian/rules b/debian/rules
index 2d33f6a..e277a20 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,9 @@
 #!/usr/bin/make -f
 
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+export PREFIX=/usr
+export LIBDIR=lib/$(DEB_HOST_MULTIARCH)
+export DESTDIR=$(CURDIR)/debian/tmp
+
 %:
-	dh $@
+	dh $@ -Smakefile

-- 
clxclient packaging



More information about the pkg-multimedia-commits mailing list