#!/usr/bin/make -f

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

%:
	dh $@

override_dh_auto_configure:
	/opt/qt4-maemo5/bin/qmake CONFIG+=maemo5

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

override_dh_installchangelogs:
	dh_installchangelogs NEWS

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