#!/usr/bin/make -f

export PYBUILD_NAME=sphinx-autodoc2

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

override_dh_installdocs:
	https_proxy='127.0.0.1:9' http_proxy='127.0.0.1:9' sphinx-build -b html docs build/sphinx/html

	dh_installdocs -ppython-sphinx-autodoc2-doc --doc-main-package=python-sphinx-autodoc2-doc build/sphinx/html
	dh_installdocs
