debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | ## tests time out on [mips64el]. |
| 4 | ifneq (,$(filter $(DEB_BUILD_ARCH), mips64el )) |
| 5 | MINUS:=- |
| 6 | endif |
| 7 | override_dh_auto_test: |
| 8 | # $(MINUS)dh_auto_test $(if $(findstring -,$(MINUS)),$(warning Detected $(DEB_BUILD_ARCH), test failures will be ignored.)) |
| 9 | -dh_auto_test |
| 10 | |
| 11 | override_dh_auto_install: |
| 12 | dh_auto_install -- --no-source |
| 13 | |
| 14 | %: |
| 15 | dh $@ --builddirectory=_build --buildsystem=golang --with=golang |