#!/usr/bin/make -f #export DH_VERBOSE=1 #export DEB_BUILD_OPTIONS=nocheck export PYBUILD_NAME=vulture export PYBUILD_TEST_ARGS = -v -o addopts= {dir} VERSION := $(shell dpkg-parsechangelog -Sversion | cut -d- -f1) DEBDATE := $(shell dpkg-parsechangelog -Sdate | date -u +"%F" -f -) %: dh $@ --with python3 --buildsystem=pybuild override_dh_installchangelogs: dh_installchangelogs CHANGELOG.md override_dh_installman: txt2man -s 1 -v "vulture" -t "vulture" -r "$(VERSION)" -d "$(DEBDATE)" debian/vulture.txt > .pybuild/vulture.1 dh_installman .pybuild/vulture.1