#!/usr/bin/make -f build3vers := $(shell py3versions -sv) export DEB_BUILD_MAINT_OPTIONS = hardening=+all %: dh $@ --buildsystem=makefile override_dh_auto_install: dh_install -ppython3-subnettree set -e && for i in $(build3vers); do \ python$$i ./setup.py install --install-layout=deb --root $(CURDIR)/debian/python3-subnettree; \ done override_dh_clean: dh_clean rm -rf $(CURDIR)/__pycache__ override_dh_auto_test: :