#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#export DH_VERBOSE = 1

export PYBUILD_NAME=sphinxcontrib.jsmath

%:
	dh $@ --with python3 --buildsystem=pybuild

override_dh_installchangelogs:
	dh_installchangelogs CHANGES.rst

execute_before_dh_auto_build:
	pybabel-python3 compile \
		--domain=sphinxcontrib.jsmath \
		--directory=sphinxcontrib/jsmath/locales/ \
		--use-fuzzy
