#!/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 \ go.opentelemetry.io/contrib/bridges/prometheus \ go.opentelemetry.io/contrib/bridges/otellogr \ go.opentelemetry.io/contrib/bridges/otelslog \ go.opentelemetry.io/contrib/bridges/otelzap \ go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc \ go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace \ go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp \ go.opentelemetry.io/contrib/instrumentation/runtime \ go.opentelemetry.io/contrib/otelconf \ go.opentelemetry.io/contrib/processors/baggagecopy \ go.opentelemetry.io/contrib/processors/minsev \ # EOL # Do not excludes all export DH_GOLANG_EXCLUDES_ALL := 0 %: 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 execute_after_dh_fixperms: find debian/$(SOURCE_NAME) -type f -executable -not -name "*.sh" -exec chmod -x {} +