| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | # DH_VERBOSE := 1 |
| 4 | |
| 5 | export DEB_BUILD_MAINT_OPTIONS=hardening=+all |
| 6 | |
| 7 | # FIXME - never enabled, tests fail, to be investigated |
| 8 | export PYBUILD_DISABLE=test |
| 9 | |
| 10 | %: |
| 11 | dh $@ --buildsystem pybuild |
| 12 | |
| 13 | override_dh_python3: |
| 14 | dh_python3 --no-ext-rename |
| 15 | |
| 16 | override_dh_install: |
| 17 | dh_install |
| 18 | mv -v debian/porechop/usr/bin/porechop-runner.py debian/porechop/usr/bin/porechop |
| 19 | |
| 20 | override_dh_clean: |
| 21 | dh_clean |
| 22 | # Removing left .so files. |
| 23 | find . -name "*.so" -delete |