#!/usr/bin/make -f

export DH_OPTIONS

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

override_dh_auto_build:
	dh_auto_build
	cd doc && make man htmlhelp

override_dh_auto_clean:
	dh_auto_clean || true
	cd doc && make clean

override_dh_clean:
	dh_clean
	rm -rf .pybuild
