mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-25 04:18:08 +01:00
debian: use architecture.mk
I plan to add further architecture dependent checks, which makes this preferable to directly calling dpkg-architecture.
This commit is contained in:
parent
115d4d69eb
commit
25c933d7e6
1 changed files with 2 additions and 1 deletions
3
debian/rules
vendored
3
debian/rules
vendored
|
@ -1,4 +1,5 @@
|
||||||
#!/usr/bin/make -f
|
#!/usr/bin/make -f
|
||||||
|
include /usr/share/dpkg/architecture.mk
|
||||||
|
|
||||||
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
||||||
|
|
||||||
|
@ -7,7 +8,7 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
||||||
|
|
||||||
override_dh_auto_configure:
|
override_dh_auto_configure:
|
||||||
BASHCMD=/bin/bash ./configure --prefix=/usr \
|
BASHCMD=/bin/bash ./configure --prefix=/usr \
|
||||||
--libdir=/usr/lib/$$(dpkg-architecture -q DEB_TARGET_MULTIARCH) \
|
--libdir=/usr/lib/${DEB_TARGET_MULTIARCH} \
|
||||||
--includedir=/usr/include \
|
--includedir=/usr/include \
|
||||||
--mandir=/usr/share/man \
|
--mandir=/usr/share/man \
|
||||||
--infodir=/usr/share/info \
|
--infodir=/usr/share/info \
|
||||||
|
|
Loading…
Reference in a new issue