diff --git a/Makefile b/Makefile index cff6246..9b3599b 100644 --- a/Makefile +++ b/Makefile @@ -150,7 +150,7 @@ gen-modules/%: @echo "Initializing module in $(DIR)" \ && cd $(DIR) \ && rm -f go.mod go.sum \ - && $(GO) mod init go.opentelemetry.io/proto/$(DIR) + && $(GO) mod init go.opentelemetry.io/proto/$(patsubst %\,%,$(DIR)) .PHONY: copy-otlp-protobuf-slim copy-otlp-protobuf-slim: