| 1 | #!/usr/bin/make -f |
| 2 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 3 | |
| 4 | include /usr/share/dpkg/architecture.mk |
| 5 | |
| 6 | override_dh_auto_configure: |
| 7 | dh_auto_configure -- --libexecdir=/usr/lib/$(DEB_HOST_MULTIARCH) |
| 8 | %: |
| 9 | dh $@ |
| 10 | |
| 11 | override_dh_install: |
| 12 | find . -type f -name "liblinpac.la" -exec rm {} \; |
| 13 | find . -type f -name "libaxmail.la" -exec rm {} \; |
| 14 | find . -type f -name "linpac.spec" -exec chmod -x {} \; |
| 15 | dh_install |