#!/usr/bin/make -f export PYBUILD_NAME = logomaker export PYBUILD_TEST_CUSTOM = 1 export PYBUILD_TEST_ARGS = {interpreter} {dir}/debian/tests/run-tests export MPLBACKEND = Agg %: dh $@ --buildsystem=pybuild override_dh_auto_install: dh_auto_install -- --install-dir=/usr/lib/python3/dist-packages execute_after_dh_auto_install: mkdir -p debian/python3-logomaker/usr/share/logomaker mv debian/python3-logomaker/usr/lib/python3/dist-packages/logomaker/examples \ debian/python3-logomaker/usr/share/logomaker/ mkdir -p debian/python3-logomaker/usr/share/doc/python3-logomaker/examples mv debian/python3-logomaker/usr/lib/python3/dist-packages/logomaker/tutorials \ debian/python3-logomaker/usr/share/doc/python3-logomaker/examples/ execute_after_dh_fixperms: find debian/python3-logomaker -type f \( -name '*.py' -o -name '*.md' \) \ -exec chmod 644 {} +