| 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 = -W |
| 12 | |
| 13 | %: |
| 14 | dh $@ --sourcedirectory=src |
| 15 | |
| 16 | override_dh_auto_install: |
| 17 | @echo Do not use install target of upstream Makefile |
| 18 | |
| 19 | override_dh_auto_build: |
| 20 | dh_auto_build |
| 21 | dh_auto_build --sourcedirectory=contrib/toacme/src |
| 22 | |
| 23 | override_dh_compress: |
| 24 | dh_compress -X.a -X.exp |