debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | %: |
| 4 | dh $@ --builddirectory=_build --buildsystem=golang --with=golang |
| 5 | |
| 6 | override_dh_auto_install: |
| 7 | # I haven't find a way to exclude the single file 'main.go' using DH_GOLANG_EXCLUDES |
| 8 | # therefore, we built it anyway but doesn't install it in the package |
| 9 | dh_auto_install -- --no-binaries |