#! /usr/bin/make -f

export PYBUILD_NAME=bepasty
export PYBUILD_DISABLE=test
%:
	dh $@ --with python3,sphinxdoc --buildsystem=pybuild

override_dh_auto_clean:
	dh_auto_clean || true
	rm -rf .pybuild
	rm -rf .pytest_cache

override_dh_auto_build:
	dh_auto_build
	cd docs ; make html PYTHONPATH=../src
