#!/usr/bin/make -f

export PYBUILD_NAME=demjson
export PYBUILD_AFTER_INSTALL=rm -f {destdir}/usr/bin/jsonlint

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

override_dh_auto_build:
	2to3 -w .
	dh_auto_build

override_dh_python3:
	dh_python3 --shebang=/usr/bin/python3
