#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export QT_SELECT=qt5

%:
	dh $@

override_dh_auto_clean:
	rm -f langs/*.qm
	dh_auto_clean

override_dh_auto_configure:
	lrelease puzzle-jigsaw.pro
	dh_auto_configure

override_dh_auto_install:
	dh_auto_install
	rm -rf $(CURDIR)/debian/puzzle-jigsaw/usr/bin
	rm -f $(CURDIR)/debian/puzzle-jigsaw/usr/share/puzzle-jigsaw/samples/Credits.txt
