#!/usr/bin/make -f

QTSQLITE = $(shell dpkg-query --show --showformat='$${Version}\n' libqt4-sql | sed -e 's/-[^-]\+$$//')

export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow

%:
	dh $@

override_dh_auto_test:
	# there are no tests, no need to try and find them

override_dh_installchangelogs:
	dh_installchangelogs NEWS

override_dh_gencontrol:
	dh_gencontrol -- \
		-Vqtsqlite:Depends="$(QTSQLITE)"
