#!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_CFLAGS_MAINT_APPEND = -Wall %: dh $@ override_dh_autoreconf: dpkg-parsechangelog -SVersion|rev|cut -d- -f2-|rev >VERSION dh_autoreconf ./autogen.sh override_dh_auto_test: ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) LC_ALL=C.UTF-8 $(MAKE) check || debian/rules testfail else @echo Suppressing 'make check', because this is a cross build endif testfail: @echo "!!!TESTS FAILED!!!" @cat tests/testsuite.log @false