debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | # DH_VERBOSE := 1 |
| 4 | |
| 5 | # Enable hardening build flags |
| 6 | export DEB_BUILD_MAINT_OPTIONS=hardening=+all |
| 7 | |
| 8 | %: |
| 9 | dh $@ --buildsystem=cmake --without autoreconf |
| 10 | |
| 11 | override_dh_auto_configure: |
| 12 | dh_auto_configure -- -DENABLE_TESTS:BOOL=ON |
| 13 | |
| 14 | override_dh_auto_test: |
| 15 | dh_auto_test || echo "Ignoring test failures" |