| 1 | #!/usr/bin/make -f |
| 2 | # uncomment to enable verbose mode for debhelper |
| 3 | #DH_VERBOSE = 1 |
| 4 | |
| 5 | %: |
| 6 | # standard package build for python script |
| 7 | dh $@ --with python3 --buildsystem=pybuild |
| 8 | |
| 9 | ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) |
| 10 | override_dh_auto_clean: |
| 11 | # rudimentary code check before doing anything |
| 12 | debian/sanity.sh |
| 13 | # normal dh_auto_clean |
| 14 | dh_auto_clean -O--buildsystem=pybuild |
| 15 | endif |
| 16 | |
| 17 | override_dh_auto_install: |
| 18 | dh_auto_install --destdir debian/debmake |