| 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 |
NO_MAKE_CHECK_ARCHS := hppa mips mipsel powerpc ppc64 ppc64el s390x |
| 10 |
|
| 11 |
%: |
| 12 |
dh $@ --with autoreconf |
| 13 |
|
| 14 |
# Enable the test suite only for architectures where it is reliable |
| 15 |
override_dh_auto_test: |
| 16 |
ifeq (,$(filter $(DEB_BUILD_ARCH),$(NO_MAKE_CHECK_ARCHS))) |
| 17 |
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) |
| 18 |
find tests -name \*.sh -exec chmod +x {} \; |
| 19 |
dh_auto_test |
| 20 |
endif |
| 21 |
endif |