#!/usr/bin/make -f

export PYBUILD_DISABLE = test

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

override_dh_installman:
	python3 -c "from setuptools import setup; setup()" \
		--command-packages=click_man.commands \
		man_pages \
		--target debian/tmp/man/ \
	;
	dh_installman -O--buildsystem=pybuild
