File: rules

package info (click to toggle)
golang-github-google-cel-go 0.18.2%2Bds-5
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 5,888 kB
  • sloc: sh: 93; makefile: 12
file content (18 lines) | stat: -rwxr-xr-x 586 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

#export DH_VERBOSE := 1
export DH_GOLANG_EXCLUDES := server examples codelab repl/appengine/main repl/main
export BUILDDIR := build

%:
	dh $@ --builddirectory=$(BUILDDIR) --buildsystem=golang --with=golang

override_dh_auto_configure:
	mkdir -p -v $(BUILDDIR)/src/github.com/google/cel-go/vendor
	cp -v -a debian/missing-sources/* $(BUILDDIR)/src/github.com/google/cel-go/vendor
	dh_auto_configure

override_dh_install:
	find debian/golang-github-google-cel-go-dev/usr/share/gocode/src/github.com/google/cel-go/ \
	    -type f -exec chmod -x \{\} \;
	dh_install -i