debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | # resolve if release is experimental |
| 4 | include /usr/share/dpkg/pkg-info.mk |
| 5 | EXP_RELEASE = $(filter experimental% UNRELEASED,$(DEB_DISTRIBUTION)) |
| 6 | |
| 7 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 8 | |
| 9 | %: |
| 10 | dh $@ |
| 11 | |
| 12 | # ignore errors when targeted experimental |
| 13 | # TODO fix testsuite failures and unconditionally fail on errors |
| 14 | override_dh_auto_test: |
| 15 | dh_auto_test $(if $(EXP_RELEASE),|| true) |