1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
#!/usr/bin/make -f
# Use the debhelper command sequencer.
%:
dh $@ --buildsystem=pybuild --with python3
override_dh_clean:
rm --force --recursive docs/examples/
dh_clean
override_dh_auto_build:
# - Nothing to be compiled
# - Don't call build_doc, as it's superfluous and will run into
# bootstrap problems.
override_dh_installchangelogs:
dh_installchangelogs docs/changes/changes.txt
override_dh_installexamples:
tar --directory=docs --extract --bzip2 --exclude=COPYRIGHT \
--file=examples/examples-src.tar.bz2
dh_installexamples
override_dh_python3:
dh_python3 --shebang=/usr/bin/python3
|