#!/usr/bin/make -f #export DH_VERBOSE = 1 export PYBUILD_NAME=pychopper export PYBUILD_TEST_ARGS = {dir}/pychopper/tests export PYBUILD_AFTER_INSTALL=rm -fr {destdir}/usr/lib/python3*/dist-packages/pychopper-*/top_level.txt \ rm -fr {destdir}/usr/lib/python3*/dist-packages/pychopper.pdf \ rm -fr {destdir}/usr/lib/python3*/dist-packages/pychopper.tsv %: dh $@ --buildsystem=pybuild execute_after_dh_auto_build: cd docs && PYTHONPATH=.. $(MAKE) man execute_before_dh_auto_build: ln -sfn pychopper/scripts scripts execute_after_dh_fixperms: find debian/ -name PCS111_primers.fas -exec chmod -x '{}' \;