| 1 | #!/usr/bin/make -f |
| 2 | #export DH_VERBOSE = 1 |
| 3 | |
| 4 | # See FEATURE AREAS in dpkg-buildflags(1). |
| 5 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 6 | |
| 7 | # See ENVIRONMENT in dpkg-buildflags(1). |
| 8 | # Package maintainers to append CFLAGS. |
| 9 | export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic |
| 10 | # Package maintainers to append LDFLAGS. |
| 11 | export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed |
| 12 | |
| 13 | %: |
| 14 | dh $@ |
| 15 | |
| 16 | override_dh_auto_install: |
| 17 | cd ${CURDIR}/obj-* && mv pacman pacman.c |
| 18 | dh_auto_install |