#!/usr/bin/make -f

%:
	dh $@ --sourcedirectory=debian/console

DEB_VERSION_UPSTREAM_REVISION := $(shell dpkg-parsechangelog | awk '/^Version: / { print $$2 }' | sed -e 's/^[0-9]*://')

override_dh_gencontrol:
	dh_gencontrol -pttf-ubuntu-font-family -- -v1:$(DEB_VERSION_UPSTREAM_REVISION)
	dh_gencontrol -pfonts-ubuntu-font-family-console -- -v1:$(DEB_VERSION_UPSTREAM_REVISION)
	dh_gencontrol --remaining-packages
