#!/usr/bin/make -f export DH_GOLANG_EXCLUDES := bin/ %: dh $@ --builddirectory=_build --buildsystem=golang --with=golang override_dh_auto_build: DH_GOLANG_EXCLUDES="codelab" dh_auto_build override_dh_auto_install: DH_GOLANG_EXCLUDES="examples codelab" dh_auto_install override_dh_auto_test: DH_GOLANG_EXCLUDES="server" dh_auto_test override_dh_install-arch: mv debian/tmp/usr/bin/main debian/tmp/usr/bin/cel-server dh_install -a override_dh_install-indep: find debian/tmp/usr/share/gocode/src/github.com/google/cel-go/ \ -type f -exec chmod -x \{\} \; dh_install -i