#!/usr/bin/make -f

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

%:
	dh $@

override_dh_auto_build:
	dh_auto_build
	convert -geometry 32x32 data/confclerk.png data/confclerk.xpm

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)"
