#!/usr/bin/make -f

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

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --disable-silent-rules

override_dh_install:
	rm debian/gigolo/usr/share/doc/gigolo/ChangeLog
	rm debian/gigolo/usr/share/doc/gigolo/COPYING
	rm debian/gigolo/usr/share/doc/gigolo/AUTHORS
	dh_install

override_dh_strip:
	dh_strip --dbgsym-migration='gigolo-dbg (<< 0.4.2-2~)' 
