| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | # Enable compiler hardening flags. |
| 4 | export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow,+pie |
| 5 | |
| 6 | # Enable verbose test output. |
| 7 | export C_TAP_VERBOSE = 1 |
| 8 | |
| 9 | DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) |
| 10 | |
| 11 | %: |
| 12 | dh $@ |
| 13 | |
| 14 | override_dh_auto_configure: |
| 15 | dh_auto_configure -- --enable-reduced-depends \ |
| 16 | --libdir=/usr/lib/$(DEB_HOST_MULTIARCH) |
| 17 | |
| 18 | execute_after_dh_auto_install: |
| 19 | rm debian/tmp/usr/lib/*/krb5/plugins/kadm5_hook/*.la |
| 20 | chmod 644 debian/tmp/usr/lib/*/krb5/plugins/kadm5_hook/*.so |