summaryrefslogtreecommitdiff
path: root/rabbitmq-components.mk
diff options
context:
space:
mode:
Diffstat (limited to 'rabbitmq-components.mk')
-rw-r--r--rabbitmq-components.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/rabbitmq-components.mk b/rabbitmq-components.mk
index fe092e8aa9..326a61a91f 100644
--- a/rabbitmq-components.mk
+++ b/rabbitmq-components.mk
@@ -322,15 +322,15 @@ prepare-dist::
ifneq ($(wildcard ../../UMBRELLA.md),)
UNDER_UMBRELLA = 1
+DEPS_DIR ?= $(abspath ..)
+else ifneq ($(wildcard ../../../../UMBRELLA.md),)
+UNDER_UMBRELLA = 1
+DEPS_DIR ?= $(abspath ../../..)
else ifneq ($(wildcard UMBRELLA.md),)
UNDER_UMBRELLA = 1
endif
ifeq ($(UNDER_UMBRELLA),1)
-ifneq ($(PROJECT),rabbitmq_public_umbrella)
-DEPS_DIR ?= $(abspath ..)
-endif
-
ifneq ($(filter distclean distclean-deps,$(MAKECMDGOALS)),)
SKIP_DEPS = 1
endif