#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export PYBUILD_NAME=django-celery-results
export PYBUILD_TEST_ARGS=-k "not test_taskresult_delete_expired and not test_on_chord_part_return_multiple_databases and not test_retry_store_result_fails and not test_retry_store_result_succeeds and not test_store_group_result"

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

execute_after_dh_auto_build:
	PYTHONPATH=. python3 -m sphinx -b html -d docs/.build/.doctrees -N docs docs/.build/html

execute_before_dh_clean:
	rm -rf docs/.build
