Add support multiarch

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
This commit is contained in:
Nobuhiro Iwamatsu 2013-01-21 13:15:06 +09:00 committed by Ludovic Rousseau
parent c8e2d39cbc
commit 2db7087041
4 changed files with 17 additions and 7 deletions

10
debian/rules vendored
View file

@ -12,12 +12,18 @@
# "nocheck" option prevents from running tests (which need dedicated hardware)
export DEB_BUILD_OPTIONS=nocheck
# --enable-debug --with-drivers=all
confflags := --disable-silent-rules \
--prefix=/usr \
--libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \
$(NULL)
confflags += $(shell dpkg-buildflags --export=configure)
override_dh_installchangelogs:
dh_installchangelogs ChangeLog
override_dh_auto_configure:
dh_auto_configure -- --disable-silent-rules
# --enable-debug --with-drivers=all
dh_auto_configure -- $(confflags)
%:
dh $@ --with autoreconf