debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export DH_GOLANG_EXCLUDES := example/server example/echo \ |
| 4 | example/proto example/client internal/v2/fakes2av2_server \ |
| 5 | tools/internal_ci/test_gae |
| 6 | |
| 7 | export DH_GOLANG_INSTALL_EXTRA := testdata/ |
| 8 | |
| 9 | %: |
| 10 | dh $@ --builddirectory=_build --buildsystem=golang --with=golang |
| 11 | |
| 12 | override_dh_auto_build: |
| 13 | $(CURDIR)/tools/proto/regenerate_proto.sh |
| 14 | dh_auto_build -O--builddirectory=_build -O--buildsystem=golang |