#!/usr/bin/make -f
export PYBUILD_SYSTEM=pyproject

%:
	dh $@ --buildsystem=pybuild

ifeq (,$(findstring nodoc,$(DEB_BUILD_PROFILES)))
execute_after_dh_auto_build:
	PYTHONPATH=src/ LC_ALL=C.UTF-8 LANGUAGE=C.UTF-8 python3 -m sphinx -N -b html docs/ docbuilddir/html
endif
