1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
#!/usr/bin/make -f
# Enable compiler hardening flags.
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# Disable running autoheader, since it doesn't work with the upstream build
# system (which uses a hand-rolled config template).
export AUTOHEADER = true
%:
dh $@
override_dh_auto_configure:
dh_auto_configure -- --disable-version --disable-symlink \
--program-suffix=5 --datadir=\$${prefix}/share/tf5 \
--enable-mailcheck=/var/mail --enable-256colors --enable-ssl
override_dh_auto_build:
$(MAKE) STRIP=:
override_dh_auto_clean:
$(MAKE) -f unix/Makefile distclean
override_dh_auto_install:
$(MAKE) install DESTDIR=$(CURDIR)/debian/tf5 STRIP=:
|