#!/usr/bin/make -f
# -*- makefile -*-
export PYBUILD_NAME=django-guardian
export PYBUILD_TEST_ARGS={dir}/guardian

%:
	dh $@ --buildsystem=pybuild

execute_after_dh_auto_build:
	# Build the HTML documentation.
	mkdocs build --site-dir=debian/html

override_dh_installdocs:
	dh_installdocs -p python-django-guardian-doc \
	               --doc-main-package python3-django-guardian
	dh_installdocs --remaining-packages

override_dh_mkdocs:
	dh_mkdocs --theme-package mkdocs-material
