| 1 | #!/usr/bin/make -f |
| 2 | # See debhelper(7) (uncomment to enable) |
| 3 | # output every command that modifies files on the build system. |
| 4 | #export DH_VERBOSE = 1 |
| 5 | |
| 6 | include /usr/share/dpkg/default.mk |
| 7 | |
| 8 | export PYBUILD_NAME=dnapilib |
| 9 | |
| 10 | %: |
| 11 | dh $@ --with python3 --buildsystem=pybuild |
| 12 | |
| 13 | override_dh_install: |
| 14 | dh_install |
| 15 | # Move user applications into separate package |
| 16 | mkdir -p debian/$(DEB_SOURCE)/usr |
| 17 | mv debian/python3-$(PYBUILD_NAME)/usr/bin debian/$(DEB_SOURCE)/usr |
| 18 | |
| 19 | override_dh_installman: |
| 20 | dh_installman --language=C |
| 21 | |
| 22 | # somehow .fq files will not be compressed |
| 23 | override_dh_compress: |
| 24 | dh_compress |
| 25 | find debian -name '*.fq' -exec gzip \{\} \; |