| 1 | #!/usr/bin/make -f |
| 2 | # -*- makefile -*- |
| 3 | # Uncomment this to turn on verbose mode. |
| 4 | # export DH_VERBOSE=1 |
| 5 | |
| 6 | # see FEATURE AREAS in dpkg-buildflags(1) |
| 7 | # Need to remove explicit disabling of lto when upstream v0.9.4 |
| 8 | # is released; see https://bugs.debian.org/1094166 |
| 9 | # and https://github.com/iptux-src/iptux/pull/652 |
| 10 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=-lto |
| 11 | |
| 12 | %: |
| 13 | dh $@ |
| 14 | |
| 15 | override_dh_auto_test: |
| 16 | xvfb-run -a dh_auto_test -- --verbose |