debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export DH_GOLANG_INSTALL_EXTRA := cmd/bpf2go/gen/output.tpl |
| 4 | export DH_GOLANG_EXCLUDES := docs/examples |
| 5 | |
| 6 | %: |
| 7 | dh $@ --buildsystem=golang --with=golang |
| 8 | |
| 9 | # In most environments, tests are running in schroot, |
| 10 | # which has no permission to run bpf programs. |
| 11 | override_dh_auto_test: |
| 12 | -dh_auto_test |
| 13 | |
| 14 | override_dh_auto_install: |
| 15 | dh_auto_install -- --no-binaries |