#! /usr/bin/make -f

# Try to circumvent FTBFS in reproducible-build environment
# See https://bugs.debian.org/855908
export LC_ALL=C.UTF-8

export PYBUILD_NAME=hiro

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

override_dh_auto_build:
	dh_auto_build
	PYTHONPATH=. http_proxy='127.0.0.1:9' python3 -m sphinx -N -bhtml doc/source build/html
