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