#!/usr/bin/make -f
# -*- makefile -*-

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

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

override_dh_auto_clean:
	-dh_auto_clean
	rm -rf docs/build

override_dh_auto_build:
	dh_auto_build
	(cd docs && $(MAKE) html)

override_dh_installdocs:
	dh_installdocs
	dh_sphinxdoc /usr/share/doc/python3-pysyncobj/html

override_dh_auto_test:
	py.test-3 -v -l test_syncobj.py
