#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

%:
	dh $@
override_dh_strip:
	dh_strip --no-automatic-dbgsym
	
override_dh_auto_install:
	dh_auto_install
	rm -f $(CURDIR)/debian/tmp/usr/share/doc/fotocx/copyright
	rm -f $(CURDIR)/debian/tmp/usr/share/doc/fotocx/license
	rm -f $(CURDIR)/debian/tmp/usr/share/fotocx/data/README
