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

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

export PYBUILD_NAME=rtree

%:
	dh $@ --buildsystem=pybuild

execute_after_dh_auto_clean:
	(cd docs && make clean)

execute_after_dh_auto_build:
	(cd docs && PYTHONPATH=$(shell pybuild --print build_dir --interpreter python3) make html)

override_dh_installchangelogs:
	dh_installchangelogs docs/source/changes.rst
