#!/usr/bin/make -f # The example test (pkg/test/example/apiexports_test.go) reads # apiexports_crd.yaml at runtime via os.ReadFile. export DH_GOLANG_INSTALL_EXTRA := pkg/test/example/apiexports_crd.yaml # Integration tests under test/integration require a running etcd, # which is not available during the build. export DH_GOLANG_EXCLUDES := test/integration %: dh $@ --builddirectory=debian/_build --buildsystem=golang # This is a library (-dev) package. The upstream module builds a # standalone apiextensions-apiserver binary from the root main package. execute_after_dh_auto_install: rm -rf debian/golang-k8s-apiextensions-apiserver-dev/usr/bin