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