#!/usr/bin/make -f

export PYBUILD_NAME=url-matcher

%:
	dh $@ --buildsystem=pybuild

override_dh_sphinxdoc:
ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
	PYTHONPATH=. python3 -m sphinx -b html -N docs/ $(CURDIR)/debian/python-url-matcher-doc/usr/share/doc/python-url-matcher-doc/html
	dh_sphinxdoc
endif
