diff --git a/Makefile b/Makefile index 498d633..7632106 100644 --- a/Makefile +++ b/Makefile @@ -39,7 +39,8 @@ endif GO := go GO_MOD_ROOT := go.opentelemetry.io/proto ALL_GO_MOD_DIRS := $(shell find . -type f -name 'go.mod' -exec dirname {} \; | sort) -OTEL_GO_MOD_DIRS := $(filter-out $(TOOLS_MOD_DIR), $(ALL_GO_MOD_DIRS)) +ALL_GO_SUB_MOD_DIRS := $(shell find . -type f -name 'go.mod' -mindepth 2 -exec dirname {} \; | sort) +OTEL_GO_MOD_DIRS := $(filter-out $(TOOLS_MOD_DIR), $(ALL_GO_SUB_MOD_DIRS)) TIMEOUT = 60 PROTOBUF_GEN_DIR := opentelemetry-proto-gen