File: rules

package info (click to toggle)
golang-opentelemetry-contrib 0.56.0-5
  • links: PTS, VCS
  • area: main
  • in suites: experimental, forky, sid, trixie
  • size: 4,884 kB
  • sloc: makefile: 278; sh: 211; sed: 1
file content (34 lines) | stat: -rwxr-xr-x 928 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/usr/bin/make -f

export DH_GOLANG_INSTALL_EXTRA := \
	$(shell find . -name go.mod -not -path './.pc/*') \
	zpages/internal/templates \
	# EOL

# Exclude packages to avoid additional dependencies.
# Only add more packages when they are needed by reverse-depends.
export DH_GOLANG_EXCLUDES := \
	detectors \
	instrgen \
	example \
	examples \
	propagators/autoprop \
	propagators/aws \
	propagators/jaeger \
	propagators/opencensus \
	propagators/ot \
	samplers \
	tools \
	instrumentation/github.com \
	instrumentation/go.mongodb.org \
	instrumentation/google.golang.org/grpc/otelgrpc/test \
	instrumentation/gopkg.in \
	instrumentation/host \
	# EOL

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

execute_after_dh_auto_configure:
	# google.golang.org/grpc/interop is currently broken, missing files.
	rm -v -f _build/src/go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc/benchmark_test.go