| 1 | #!/usr/bin/make -f |
| 2 | # -*- makefile -*- |
| 3 | |
| 4 | # Uncomment this to turn on verbose mode. |
| 5 | #export DH_VERBOSE=1 |
| 6 | |
| 7 | export DEB_BUILD_MAINT_OPTIONS=hardening=+all |
| 8 | |
| 9 | %: |
| 10 | dh $@ --with autoreconf |
| 11 | |
| 12 | override_dh_auto_configure: |
| 13 | dh_auto_configure $@ -- --disable-nls --enable-maintainer-mode |
| 14 | |
| 15 | # do not ship conflicting /usr/include/gnumake.h. This lives in the 'make' |
| 16 | # package, which has a library component. There's no reason to do this with |
| 17 | # remake, so I simply remove it |
| 18 | override_dh_install: |
| 19 | rm -rf debian/remake/usr/include |
| 20 | dh_install |
| 21 | |
| 22 | # This test is a known failure in 4.3. Upstream will try to fix it for 4.4. |
| 23 | # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1108812 |
| 24 | # https://github.com/Trepan-Debuggers/remake/issues/168 |
| 25 | override_dh_auto_test: |
| 26 | rm -f tests/scripts/features/output-sync |
| 27 | dh_auto_test |