#!/usr/bin/make -f # see FEATURE AREAS in dpkg-buildflags(1) export DEB_BUILD_MAINT_OPTIONS = hardening=+all # The package fails to build in Ubuntu, because the Ubuntu # autobuilders run with a $TERM value of 'unknown', and the # open-adventure testsuite doesn't like this. Setting $TERM # to a known-good value makes the package build more portable. # See https://bugs.debian.org/889519 export TERM=xterm %: dh $@ override_dh_installman: make advent.6 dh_installman # The tests need to be run in alphabetic order, which # is no longer deterministic with parallel builds. # See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1091064 override_dh_auto_test: dh_auto_test --no-parallel