1 2 3 4 5 6 7 8
#!/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