#!/usr/bin/make -f export PYBUILD_NAME=python-deepl export PYBUILD_TEST_ARGS=tests/offline PYVERS=$(shell python3 -c \ 'import sysconfig; print(sysconfig.get_python_version())') PYPATH=debian/python3-deepl/usr/lib/python$(PYVERS)/dist-packages \ %: dh $@ --buildsystem=pybuild execute_after_dh_auto_install: PYTHONPATH=$(PYPATH) help2man -N \ --include debian/help2man.include --output debian/deepl.1 \ --name="$(shell sed -n 's/^Description: //p' debian/control | head -1)" \ --no-discard-stderr debian/python3-deepl/usr/bin/deepl