#!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 include /usr/share/GNUstep/debian/config.mk d_app := $(CURDIR)/debian/mpdcon.app export DEB_BUILD_MAINT_OPTIONS := hardening=+all export DEB_LDFLAGS_MAINT_APPEND = -Wl,--no-undefined %: dh $@ override_dh_auto_build: $(MAKE) $(optim) $(verbose) need-libbsd=yes \ $(shell dpkg-buildflags --export=cmdline) convert Resources/MPDCon.tiff app-icon.png override_dh_clean: dh_clean app-icon.png override_dh_link: $(RM) $(d_app)$(GNUSTEP_SYSTEM_APPS)/*.app/Resources/COPYING gsdh_gnustep --app mv app-icon.png $(d_app)/usr/share/GNUstep/MPDCon.app dh_link