#!/usr/bin/make -f export PYBUILD_NAME=variety %: ifneq ($(shell dh -l | grep -xF translations),) dh $@ --with python3,translations --buildsystem=pybuild else dh $@ --with python3 --buildsystem=pybuild endif override_dh_auto_clean: # Remove the auto-generated .pot file so successive builds work. rm -f po/variety.pot dh_auto_clean override_dh_auto_test: # Not used in Debian build since they predominantly require network access true