#!/usr/bin/make -f export LC_ALL=C.UTF-8 export PYBUILD_DISABLE=test export PYBUILD_INSTALL_ARGS=--install-lib=/usr/share/bcnc --install-scripts=/usr/share/bcnc export PYBUILD_AFTER_INSTALL=rm -rf '{destdir}/usr/share/bcnc/tests' %: dh $@ --with python3 --buildsystem=pybuild override_dh_python3: dh_python3 # Fix package-contains-documentation-outside-usr-share-doc lintian # warning by removing useless .egg-info for Python program after # it has been scanned by dh_python3 for automatic Depends. rm -R debian/bcnc/usr/share/bcnc/*.egg-info override_dh_installchangelogs: dh_installchangelogs CHANGELOG.md