#!/usr/bin/make -f

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

execute_after_dh_gencontrol:
	# Don't state "non-free" when building for Ubuntu. https://launchpad.net/bugs/1754804
	if dpkg-vendor --is ubuntu; then \
		sed -i 's#^Section: non-free/fonts#Section: fonts#' debian/*/DEBIAN/control; \
	fi
