#!/usr/bin/make -f
#export DH_VERBOSE = 1
export PYBUILD_NAME = blessed
export LC_ALL=C.UTF-8

%:
	dh $@ --with python3,sphinxdoc --buildsystem=pybuild

override_dh_auto_test:
	PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} -m pytest -v -x -rs" dh_auto_test

override_dh_sphinxdoc:
	python3 -m sphinx -v -W -d docs/_build/doctrees -b html docs docs/_build/html
	dh_sphinxdoc
