#!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 SHELL := /bin/bash include /usr/share/GNUstep/debian/config.mk d_app := $(CURDIR)/debian/batmon.app export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_LDFLAGS_MAINT_APPEND = -Wl,--no-undefined %: dh $@ override_dh_auto_build: dh_auto_build -- $(optim) $(verbose) \ $(shell dpkg-buildflags --export=cmdline) convert Resources/BatMon_icon.tif -resize 64x64 batmon.png execute_before_dh_link: rm $(d_app)$(GNUSTEP_SYSTEM_APPS)/batmon.app/Resources/{LICENSE,README} gsdh_gnustep --app override_dh_fixperms: dh_fixperms chmod -x $(d_app)/usr/share/GNUstep/batmon.app/*.tif