#!/usr/bin/make -f export PYBUILD_NAME=ldaptool %: dh $@ --buildsystem=pybuild # we want /usr/bin/ldaptool in a separate package override_dh_auto_install: dh_auto_install mkdir -p debian/ldaptool/usr mv debian/python3-ldaptool/usr/bin debian/ldaptool/usr/