debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | # As there is no easy way to exclude the binaries from being placed by dh-golang |
| 4 | # into the resulting -dev package, simply prevent them from building in the |
| 5 | # first place |
| 6 | export DH_GOLANG_EXCLUDES=cmd |
| 7 | |
| 8 | %: |
| 9 | dh $@ --builddirectory=debian/.build/upstream --buildsystem=golang |