#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#export DH_VERBOSE = 1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# import GNUstep settings for Debian
include /usr/share/GNUstep/debian/config.mk

%:
	dh $@

override_dh_auto_build:
	dh_auto_build -- $(optim) $(verbose) \
	    $(shell dpkg-buildflags --export=cmdline)

override_dh_auto_install:
	dh_auto_install --destdir=debian/tmp
	$(RM) $(CURDIR)/debian/tmp$(GNUSTEP_SYSTEM_APPS)/Camera.app/stamp.make
	find debian/tmp -name \*.desktop -delete
