1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
#!/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
|