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

export DEB_BUILD_HARDENING=1

export PYBUILD_NAME=btrees

export PYBUILD_AFTER_INSTALL = cd {destdir}{install_dir}/BTrees && \
	rm -r *.c *.h *.txt tests

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

override_dh_auto_build:
	dh_auto_build
	PYTHONPATH=. http_proxy=http://127.0.0.1:9/ sphinx-build -qNE -b html docs build/html
