| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
export DH_GOLANG_EXCLUDES := examples codelab repl/main conformance |
| 6 |
export DH_GOLANG_INSTALL_EXTRA := cel/templates/authoring.tmpl |
| 7 |
|
| 8 |
export BUILDDIR := build |
| 9 |
|
| 10 |
%: |
| 11 |
dh $@ --builddirectory=$(BUILDDIR) |
| 12 |
|
| 13 |
execute_before_dh_auto_configure: |
| 14 |
mkdir -p -v $(BUILDDIR)/src/github.com/google/cel-go/vendor |
| 15 |
cp -v -a debian/missing-sources/* $(BUILDDIR)/src/github.com/google/cel-go/vendor |
| 16 |
|
| 17 |
override_dh_install: |
| 18 |
find debian/golang-github-google-cel-go-dev/usr/share/gocode/src/github.com/google/cel-go/ \ |
| 19 |
-type f -exec chmod -x \{\} \; |
| 20 |
dh_install -i |
| 21 |
|
| 22 |
override_dh_auto_test: |
| 23 |
|
| 24 |
GOLANG_PROTOBUF_REGISTRATION_CONFLICT=warn dh_auto_test -- -short |