#!/usr/bin/make -f

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

override_dh_auto_test:
	dh_auto_test -- --system=custom --test-args '{interpreter} pyvows/cli.py tests/'

override_dh_auto_clean:
	rm -f debian/pyvows.1
	dh_auto_clean

override_dh_installman:
	help2man -N --no-discard-stderr -n "BDD test engine based on Vows.js" pyvows/cli.py > debian/pyvows.1
	dh_installman
