#!/usr/bin/make -f

#export DH_VERBOSE := 1
# Disable conformance due to it requires with Bazel workspace, and not to vendoring it due to out of previous discussion.
export DH_GOLANG_EXCLUDES := examples codelab repl/main conformance
export DH_GOLANG_INSTALL_EXTRA := cel/templates/authoring.tmpl

export BUILDDIR := build

%:
	dh $@ --builddirectory=$(BUILDDIR)

execute_after_dh_install:
	find debian/golang-cel-cel-go-dev/usr/share/gocode/src/cel.dev/cel-go/ \
	    -type f -exec chmod -x \{\} \;
