File: rules

package info (click to toggle)
golang-github-spiffe-go-spiffe 2.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,104 kB
  • sloc: makefile: 156
file content (11 lines) | stat: -rwxr-xr-x 326 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/make -f

export DH_GOLANG_EXCLUDES := examples/

%:
	dh $@ --builddirectory=_build --buildsystem=golang

execute_before_dh_auto_configure:
	cd proto/spiffe/workload && \
	protoc --go-grpc_out=. --go-grpc_opt=paths=source_relative workload.proto && \
	protoc --go_out=. --go_opt=paths=source_relative workload.proto