| 1 | #!/usr/bin/make -f |
| 2 | # -*- makefile -*- |
| 3 | |
| 4 | # Uncomment this to turn on verbose mode. |
| 5 | #export DH_VERBOSE=1 |
| 6 | |
| 7 | # Enable hardening build flags |
| 8 | export DEB_BUILD_MAINT_OPTIONS=hardening=+all |
| 9 | |
| 10 | export PYBUILD_NAME=pykdtree |
| 11 | export PYBUILD_TEST_ARGS=--pyargs -k "not test_mypy" ${PYBUILD_NAME} |
| 12 | |
| 13 | %: |
| 14 | dh $@ --buildsystem=pybuild |
| 15 | |
| 16 | execute_after_dh_auto_configure: |
| 17 | cython3 pykdtree/kdtree.pyx |
| 18 | cd pykdtree && python3 render_template.py |