#!/usr/bin/make -f # export DH_VERBOSE = 1 export PYBUILD_NAME = visidata export PYBUILD_TEST_ARGS = {dir}/visidata/tests %: dh $@ --buildsystem=pybuild execute_before_dh_installman: mkdir -p debian/man cp visidata/man/* debian/man/ PYTHONPATH=. python3 visidata/man/parse_options.py debian/man/vd-cli.inc debian/man/vd-opts.inc soelim -rt -I debian/man debian/man/vd.inc > debian/man/vd-pre.1 preconv -r -e utf8 debian/man/vd-pre.1 > debian/man/vd.1 preconv -r -e utf8 debian/man/vd-pre.1 > debian/man/visidata.1 execute_after_dh_auto_test: rm -fr ./.pybuild/cpython3_*_visidata/build/ execute_after_dh_clean: rm -rf debian/man