mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-04-22 14:36:20 +00:00
Add support multiarch
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
This commit is contained in:
committed by
Ludovic Rousseau
parent
c8e2d39cbc
commit
2db7087041
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
|
||||
|
||||
Reference in New Issue
Block a user