| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
include /usr/share/dpkg/pkg-info.mk |
| 8 |
export PYBUILD_NAMEscip-debian debian doit 0.36.0-5 doit/rules/PYBUILD_NAME.=$(DEB_SOURCEscip-debian debian doit 0.36.0-5 doit/rules/DEB_SOURCE.) |
| 9 |
export PYBUILD_TEST_ARGSscip-debian debian doit 0.36.0-5 doit/rules/PYBUILD_TEST_ARGS.=-k "not (test_execute or test_dep or test_target)" |
| 10 |
|
| 11 |
%scip-debian debian doit 0.36.0-5 doit/rules/`%`().: |
| 12 |
dh $@ --with bash-completion,sphinxdoc --buildsystem=pybuild |
| 13 |
|
| 14 |
execute_after_dh_bash-completionscip-debian debian doit 0.36.0-5 doit/rules/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_cleanscip-debian debian doit 0.36.0-5 doit/rules/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_installmanscip-debian debian doit 0.36.0-5 doit/rules/execute_before_dh_installman().: |
| 26 |
|
| 27 |
PYTHONPATH=$(CURDIRscip-debian debian doit 0.36.0-5 doit/rules/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_installdocsscip-debian debian doit 0.36.0-5 doit/rules/execute_before_dh_installdocs().: |
| 30 |
|
| 31 |
set -ex; \ |
| 32 |
export PYTHONPATH=$(CURDIRscip-debian debian doit 0.36.0-5 doit/rules/CURDIR.); \ |
| 33 |
cd doc; \ |
| 34 |
make html; |
| 35 |
|
| 36 |
override_dh_installexamplesscip-debian debian doit 0.36.0-5 doit/rules/override_dh_installexamples().: |
| 37 |
dh_installexamplesscip-debian debian debhelper . dh_installexamples(). -X.gitignore |