Add support multiarch
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
This commit is contained in:
parent
c8e2d39cbc
commit
2db7087041
4 changed files with 17 additions and 7 deletions
10
debian/rules
vendored
10
debian/rules
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue