| 1 |
|
| 2 |
|
| 3 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 4 |
DPKG_EXPORT_BUILDFLAGS = 1 |
| 5 |
include /usr/share/dpkg/buildflags.mk |
| 6 |
|
| 7 |
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) |
| 8 |
|
| 9 |
%: |
| 10 |
dh $@ |
| 11 |
|
| 12 |
override_dh_auto_configure: |
| 13 |
dh_auto_configure -- --libdir=/usr/lib/$(DEB_HOST_MULTIARCH) --with-curl |
| 14 |
|
| 15 |
override_dh_auto_install: |
| 16 |
dh_auto_install |
| 17 |
|
| 18 |
|
| 19 |
rm debian/libpam-pkcs11/usr/lib/$(DEB_HOST_MULTIARCH)/security/*.la |
| 20 |
rm debian/libpam-pkcs11/usr/lib/$(DEB_HOST_MULTIARCH)/pam_pkcs11/*.la |
| 21 |
|
| 22 |
rm -r debian/libpam-pkcs11/usr/share/doc/pam_pkcs11 |