#!/usr/bin/make -f export PYBUILD_NAME=taurus export PYBUILD_AFTER_INSTALL=dh_numpy3 export PYBUILD_DISABLE=test py3_builddir := $(shell pybuild --interpreter python3 --print build_dir) %: dh $@ --buildsystem=pybuild override_dh_sphinxdoc: ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS))) cd doc && PYTHONPATH=$(py3_builddir) http_proxy='127.0.0.1:9' xvfb-run python3 -m sphinx -N -bhtml source build/html # HTML generator dh_installdocs "doc/build/html" -p python-taurus-doc dh_sphinxdoc -O--buildsystem=pybuild endif