#!/usr/bin/make -f DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) ifeq ($(DEB_TARGET_ARCH),armhf) export DEB_BUILD_MAINT_OPTIONS = hardening=+all,-stackclash else export DEB_BUILD_MAINT_OPTIONS = hardening=+all endif %: dh $@ override_dh_auto_configure: ifneq (,$(findstring ppc64,$(DEB_HOST_ARCH))) rm -f 'tests/data/infinite hook send.'* endif dpkg-parsechangelog -SVersion|rev|cut -d- -f2-|rev >VERSION dh_auto_configure override_dh_auto_install: dh_auto_install tic terminfo.src -o $(CURDIR)/debian/kbtin/usr/share/terminfo