| 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 | include /usr/share/dpkg/default.mk |
| 10 | |
| 11 | %: |
| 12 | dh $@ -Scmake+ninja |
| 13 | |
| 14 | configure_options := \ |
| 15 | -DSDL12COMPAT_INSTALL_TESTS=ON \ |
| 16 | $(NULL) |
| 17 | |
| 18 | override_dh_auto_configure: |
| 19 | dh_auto_configure -- $(configure_options) |
| 20 | |
| 21 | # There are no automated tests in this package |
| 22 | override_dh_auto_test: |
| 23 | |
| 24 | # debhelper >= 13.4 makes all of /usr/libexec executable, which is not |
| 25 | # quite right for installed-tests (#1006927) |
| 26 | override_dh_fixperms: |
| 27 | dh_fixperms -Xusr/libexec/installed-tests |
| 28 | chmod --recursive a+rX,u+w,og-w debian/*-tests/usr/libexec/installed-tests |