| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
include /usr/share/dpkg/pkg-info.mk |
| 8 |
export PYBUILD_NAME=$(DEB_SOURCE) |
| 9 |
export PYBUILD_TEST_ARGS=-k "not (test_execute or test_dep or test_target)" |
| 10 |
|
| 11 |
%: |
| 12 |
dh $@ --with bash-completion,sphinxdoc --buildsystem=pybuild |
| 13 |
|
| 14 |
execute_after_dh_bash-completion: |
| 15 |
cp zsh_completion_doit debian/python3-doit/usr/share/zsh/vendor-completions/_doit |
| 16 |
|
| 17 |
execute_after_dh_auto_clean: |
| 18 |
rm -rf doc/_build |
| 19 |
rm -f debian/doit.1 |
| 20 |
rm -f tests/data/stop |
| 21 |
rm -f tests/data/dependency* |
| 22 |
rm -f tests/data/target |
| 23 |
rm -f tests/data/w*.txt |
| 24 |
|
| 25 |
execute_before_dh_installman: |
| 26 |
|
| 27 |
PYTHONPATH=$(CURDIR) help2man -n "build-tools to execute any kind of task" -N debian/python3-doit/usr/bin/doit | grep -v 'lib @' > debian/doit.1 |
| 28 |
|
| 29 |
execute_before_dh_installdocs: |
| 30 |
|
| 31 |
set -ex; \ |
| 32 |
export PYTHONPATH=$(CURDIR); \ |
| 33 |
cd doc; \ |
| 34 |
make html; |
| 35 |
|
| 36 |
override_dh_installexamples: |
| 37 |
dh_installexamples -X.gitignore |