#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#export DH_VERBOSE = 1

include /usr/share/dpkg/pkg-info.mk

export PYBUILD_NAME=pygtrie

%:
	echo ${DEB_VERSION_UPSTREAM} > .version
	dh $@ --buildsystem=pybuild

execute_after_dh_auto_build:
	PYTHONPATH=. http_proxy='127.0.0.1:9' python3 setup.py builddoc

override_dh_installchangelogs:
	dh_installchangelogs version-history.rst
