#!/usr/bin/make -f

PY3VERS=$(shell py3versions -sv)
export PYBUILD_NAME=repoze.sphinx.autointerface

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

override_dh_auto_install:
	dh_auto_install 

	set -e && for pyvers in $(PY3VERS); do \
		python$$pyvers setup.py install --install-layout=deb \
		--root $(CURDIR)/debian/python3-repoze.sphinx.autointerface; \
		done
