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

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

# Enable hardening build flags
export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@ \
		--with autoreconf \
		--parallel

override_dh_clean:
	dh_clean
	$(RM) -r gnome_resource/icons/

override_dh_autoreconf:
	dh_autoreconf --as-needed

override_dh_auto_configure:
	cp -r debian/icons/ gnome_resource/
	dh_auto_configure

override_dh_install:
	dh_install --list-missing

override_dh_strip:
	dh_strip --dbgsym-migration='spatialite-gui-dbg (<< 2.0.0~devel2-9~)'
