#!/usr/bin/make -f %: dh $@ --with python3 --buildsystem=pybuild override_dh_auto_build: make codespell.1 dh_auto_build override_dh_auto_test: ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) make check-dictionary virtualenv -p python3 venv ( \ . venv/bin/activate; \ python setup.py install; \ pytest-3 codespell_lib; \ ) rm -rf venv endif override_dh_clean: rm -rf codespell.egg-info .cache .coverage dist venv dh_clean