debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | # Don't build the examples. |
| 4 | export DH_GOLANG_EXCLUDES := example/ |
| 5 | |
| 6 | %: |
| 7 | dh $@ --builddirectory=_build --buildsystem=golang |
| 8 | |
| 9 | # Don't include the `gen` command in the binary package. It's only used |
| 10 | # via `go run` syntax. |
| 11 | override_dh_auto_install: |
| 12 | dh_auto_install -- --no-binaries |