#!/usr/bin/make -f

export DH_VERBOSE=1
export PYBUILD_NAME=linop

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

override_dh_auto_install-indep:
	python setup.py build_sphinx -b html

override_dh_sphinxdoc:
ifeq (,$(findstring nodoc,$(DEB_BUILD_OPTIONS)))
	dh_sphinxdoc --package=python-$(PYBUILD_NAME)-doc
endif
