#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export PYBUILD_NAME=memprof

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

override_dh_install:
	#Only install /usr/bin/mp_plot in python-memprof
	rm $(CURDIR)/debian/python3-$(PYBUILD_NAME)/usr/bin/mp_plot
	rmdir $(CURDIR)/debian/python3-$(PYBUILD_NAME)/usr/bin/
	dh_install
