#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export PYBUILD_NAME=cement
export PYBUILD_TEST_ARGS=-e '(memcache|daemon_tests)'

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

override_dh_auto_build:
	dh_auto_build
	PYTHONPATH=. python3 -m sphinx -b html -d doc/build/doctrees -N doc/source doc/build/html

override_dh_clean:
	dh_clean
	rm -rf doc/build/*
