#!/usr/bin/make -f export DH_VERBOSE=1 export AUTOHEADER=true export DEB_BUILD_MAINT_OPTIONS=hardening=+pie CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS) export LOGNAME:=buildd export PATH:=/bin:/usr/bin %: dh $@ override_dh_auto_clean: dh_auto_clean rm -rf obj/ lib/32xx/32xx-deplibs.mk x3270/x3270-icon2.png find . \ -name Makefile -or \ -name Makefile.obj -or \ -name config.log -or \ -name config.status -or \ -name conf.h | xargs -r rm override_dh_auto_configure: dh_auto_configure -- \ --with-fontdir=/usr/share/fonts/X11/misc \ --enable-x3270 \ --enable-c3270 \ --enable-s3270 \ --enable-b3270 \ --enable-tcl3270 \ --enable-pr3287 \ --enable-x3270if \ --enable-lib \ CCOPTIONS='$(CFLAGS)' override_dh_auto_build: dh_auto_build convert x3270/x3270-icon2.xpm x3270/x3270-icon2.png override_dh_auto_install: install -m 0644 -D debian/x3270.desktop \ debian/tmp/usr/share/applications/x3270.desktop install -m 0644 -D x3270/x3270-icon2.png \ debian/tmp/usr/share/icons/hicolor/64x64/apps/x3270.png dh_auto_install --no-parallel -- install.man