#!/usr/bin/make -f
# -*- makefile -*-

#export DH_VERBOSE=1


export PYBUILD_NAME=pycoast
export PYBUILD_TEST_ARGS=$(CURDIR)/pycoast/tests \
-k "not test_add_points_pil and not test_config_file_points_and_borders_pil"


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


override_dh_auto_build:
	dh_auto_build --buildsystem=pybuild
	$(MAKE) -C docs html
	$(RM) -r docs/build/html/_images


override_dh_auto_clean:
	dh_auto_clean --buildsystem=pybuild
	$(MAKE) -C docs clean


override_dh_python3:
	dh_python3 -N python-pycoast-doc
	dh_numpy3 -N python-pycoast-doc
