#!/usr/bin/make -f

export LC_ALL=C.UTF-8
unexport LANGUAGE LANG LC_ALL LC_CTYPE LC_COLLATE LC_TIME LC_NUMERIC LC_MESSAGES

%:
	dh $@ --buildsystem meson

override_dh_auto_configure:
	dh_auto_configure -- \
		-Ddevelopment_tests=false \
		$(NULL)

execute_after_dh_auto_build:
ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
	python3 -m sphinx -b html docs debian/html
endif
