#!/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

execute_after_dh_auto_clean:
	rm -rf ./variety/locale

override_dh_auto_test:
	# Not used in Debian build since they predominantly require network access
	true
