#!/usr/bin/make -f

export PYBUILD_NAME=django-localflavor
# export DH_VERBOSE = 1
%:
	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild

override_dh_auto_test:
	django-admin test --settings=tests.settings --pythonpath=. tests

override_dh_auto_clean:
	rm -rf docs/_build
	dh_auto_clean

override_dh_auto_build:
	$(MAKE) -C docs html
	dh_auto_build
