#!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS=hardening=+all %: dh $@ build3vers := $(shell py3versions -sv) # Install manually as auto_install doesn't support python3 override_dh_auto_install: dh_install -ppython3-kyotocabinet set -e && for i in $(build3vers); do \ python$$i ./setup.py install --install-layout=deb --root $(CURDIR)/debian/python3-kyotocabinet; \ done override_dh_strip: dh_strip --dbgsym-migration='python3-kyotocabinet-dbg (<< 1.23-1~)'