1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
#!/usr/bin/make -f
export PYBUILD_DISABLE=clean configure build install
%:
dh $@ --with python3 --buildsystem=pybuild
override_dh_installman:
a2x --doctype manpage --format manpage git-phab.txt
dh_bash-completion
dh_installman
get-orig-source: VERSION:=$(shell dpkg-parsechangelog -S Version | cut -d - -f 1 | tr '~' _)
get-orig-source:
git archive -9 --format=tar.xz --prefix=git-phab-$(VERSION)/ -o git-phab-$(VERSION).tar.xz upstream/$(VERSION)
.PHONY: override_dh_installman get-orig-source
|