#!/usr/bin/make -f
# -*- makefile -*-

export PYBUILD_NAME=cssselect

%:
	dh $@ --buildsystem=pybuild

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