diff options
| author | David Bremner <david@tethera.net> | 2023-08-26 08:22:33 -0300 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2023-08-26 08:22:33 -0300 |
| commit | 25c933d7e6aeff5267112ce926335d6fd712da4b (patch) | |
| tree | 2cb6c9082da8a00a029a7aad6b9c2cdeca3fec63 /debian/rules | |
| parent | 115d4d69ebbab213baae672ac4e81947877f364b (diff) | |
debian: use architecture.mk
I plan to add further architecture dependent checks, which makes this
preferable to directly calling dpkg-architecture.
Diffstat (limited to 'debian/rules')
| -rwxr-xr-x | debian/rules | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules index f9196b82..dfcf2cc8 100755 --- a/debian/rules +++ b/debian/rules @@ -1,4 +1,5 @@ #!/usr/bin/make -f +include /usr/share/dpkg/architecture.mk export DEB_BUILD_MAINT_OPTIONS = hardening=+all @@ -7,7 +8,7 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all override_dh_auto_configure: BASHCMD=/bin/bash ./configure --prefix=/usr \ - --libdir=/usr/lib/$$(dpkg-architecture -q DEB_TARGET_MULTIARCH) \ + --libdir=/usr/lib/${DEB_TARGET_MULTIARCH} \ --includedir=/usr/include \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ |
