debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | # DH_VERBOSE := 1 |
| 4 | export LC_ALL=C.UTF-8 |
| 5 | |
| 6 | include /usr/share/dpkg/default.mk |
| 7 | |
| 8 | %: |
| 9 | dh $@ --with python3 --buildsystem=pybuild |
| 10 | |
| 11 | override_dh_install: |
| 12 | dh_install |
| 13 | rm -r debian/$(DEB_SOURCE)/usr/lib/python3*/dist-packages/reference |
| 14 | |
| 15 | ### When overriding auto_test make sure DEB_BUILD_OPTIONS will be respected |
| 16 | #override_dh_auto_test: |
| 17 | #ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) |
| 18 | # do_stuff_for_testing |
| 19 | #endif |