#!/usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk

export PYBUILD_NAME=jsondiff
export SETUPTOOLS_SCM_PRETEND_VERSION=${DEB_VERSION_UPSTREAM}

%:
	dh $@ --buildsystem=pybuild

override_dh_install:
	dh_install
	mv $(CURDIR)/debian/python3-jsondiff/usr/bin/jdiff $(CURDIR)/debian/python3-jsondiff/usr/bin/jsondiff-jdiff
