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

%:
	dh $@ --with python3

override_dh_auto_build:
	dh_auto_build --no-act
	dh_auto_build --buildsystem=pybuild --sourcedirectory=python

override_dh_auto_install:
	dh_auto_install
	$(MAKE) DESTDIR=$(CURDIR)/debian/tmp/ install-docs
	dh_auto_install --buildsystem=pybuild --sourcedirectory=python
# Packages under usr/local/lib/python* are installed by upstream's
# Makefile, but we don't want them.
	rm -rfv $(CURDIR)/debian/tmp/usr/local/lib/python*
