#!/usr/bin/make -f

%:
	dh $@ --buildsystem=pybuild

# For some reason, even with a pybuild.testfiles, not all files are copied
execute_before_dh_auto_test:
	for i in .pybuild/cpython3_* ; do cp -r nxtomomill/tests/resources $$i/build/nxtomomill/tests/ ; done

execute_after_dh_auto_install:
	find debian \( -name conf.py -or -name '*.cfg' \) -delete
