#!/usr/bin/make -f

export DH_GOLANG_INSTALL_EXTRA := cmd/bpf2go/gen/output.tpl
export DH_GOLANG_EXCLUDES := \
	cmd/bpf2go/test \
	docs/examples \
	examples \
	testdata/docker \
	testdata/windows

%:
	dh $@ --buildsystem=golang

# In most environments, tests are running in schroot,
# which has no permission to run bpf programs.
override_dh_auto_test:
	-dh_auto_test

override_dh_auto_install:
	dh_auto_install -- --no-binaries
