#!/usr/bin/make -f

export DH_VERBOSE = 1
export DEB_BUILD_MAINT_OPTIONS  = hardening=+all
export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
export QT_SELECT=qt5

# dwz breaks build
override_dh_dwz:

# Remove Qt build directories
override_dh_auto_clean:
	dh_auto_clean
	rm -fd .moc
	rm -fd .obj
	rm -fd .res
	rm -fd .ui

# qtbase5-dbg dropped from the archive
# No debug symbols available
override_dh_strip:
	dh_strip --no-automatic-dbgsym

%:
	dh $@
