| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export DH_GOLANG_INSTALL_EXTRA := internal/test/t2/t2.bnf |
| 4 | |
| 5 | %: |
| 6 | dh $@ --builddirectory=_build --buildsystem=golang --with=golang |
| 7 | |
| 8 | execute_after_dh_install: |
| 9 | find $(CURDIR)/debian -name '*.go' -exec chmod 644 {} + |
| 10 | |
| 11 | override_dh_auto_test: |
| 12 | PATH=$(CURDIR)/_build/bin:$$PATH dh_auto_test |