Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 export DH_GOLANG_EXCLUDES := cmd/cgctl
4 export DH_VERBOSE := 1
5
6 %:
7 dh $@ --builddirectory=_build --buildsystem=golang --with=golang
8
9 execute_after_dh_auto_configure:
10 cd _build/src && protoc -I.:/usr/include \
11 --go_out=. --go_opt=paths=source_relative \
12 github.com/containerd/cgroups/v3/cgroup1/stats/metrics.proto
13 cd _build/src && protoc -I.:/usr/include \
14 --go_out=. --go_opt=paths=source_relative \
15 github.com/containerd/cgroups/v3/cgroup2/stats/metrics.proto
16 find _build/src/github.com/containerd/cgroups -ls
17 go-fix-acronym -w -a '(Cpu|Tcp|Rss|Psi)' \
18 _build/src/github.com/containerd/cgroups/v3/cgroup1/stats/metrics.pb.go \
19 _build/src/github.com/containerd/cgroups/v3/cgroup2/stats/metrics.pb.go