#!/usr/bin/make -f
export PYBUILD_TEST_ARGS=--no-cov

%:
	dh $@ --buildsystem=pybuild

override_dh_auto_build:
	dh_auto_build $@ --buildsystem=pybuild
	cd docs; PYTHONPATH=$(CURDIR)/src LC_ALL=C.UTF-8 LANGUAGE=C.UTF-8 sphinx-build -bhtml -d _build/doctrees . _build/html

execute_after_dh_fixperms:
	chmod 644 debian/python3-aiodukeenergy/usr/lib/python3/dist-packages/aiodukeenergy/*.py
