#!/usr/bin/make -f

# export DH_VERBOSE=1

export PYBUILD_NAME=nxs

# nxs is not compatible with MXML 3
export SKIP_NXS_TESTS_MXML=true

%:
	dh $@ --with sphinxdoc --buildsystem pybuild

execute_after_dh_auto_build:
	http_proxy=127.0.0.1:9 \
	  https_proxy=127.0.0.1:9 \
	  PYTHONPATH=. \
	  python3 -m sphinx -N -bhtml doc/source build/html
