#!/usr/bin/make -f
#export DH_VERBOSE = 1

DATE := $(shell date --date="$$(dpkg-parsechangelog --show-field Date)" +%F)

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

override_dh_auto_configure:
	cat debian/voltron.manpages | sed 's/$$/.ronn/' | xargs ronn --date=$(DATE) --roff
	dh_auto_configure

override_dh_auto_test:
	# The test needs home directory, so we disable it.
	#python3 -m nose -sv tests/gdb_cli_tests.py
	#python3 -m nose -sv tests/lldb_cli_tests.py
