1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f
# run `go generate`; in modern packaging this is a sane default
export DH_GOLANG_GO_GENERATE := 1
%:
dh $@ --builddirectory=_build --buildsystem=golang --with=golang
# library only
override_dh_auto_install:
dh_auto_install -- --no-binaries