This repository was archived by the owner on Nov 19, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -316,21 +316,21 @@ prepare-dist::
316316# Umbrella-specific settings.
317317# --------------------------------------------------------------------
318318
319- # If this project is under the Umbrella project , we override $(DEPS_DIR)
320- # to point to the Umbrella 's one. We also disable `make distclean` so
321- # $(DEPS_DIR) is not accidentally removed.
319+ # If the top-level project is a RabbitMQ component , we override
320+ # $(DEPS_DIR) for this project to point to the top-level 's one. We also
321+ # disable `make distclean` so $(DEPS_DIR) is not accidentally removed.
322322
323- ifneq ($(wildcard ../../UMBRELLA.md ) ,)
324- UNDER_UMBRELLA = 1
323+ ifneq ($(wildcard ../../rabbitmq-components.mk ) ,)
324+ DISABLE_DISTCLEAN = 1
325325DEPS_DIR ?= $(abspath ..)
326- else ifneq ($(wildcard ../../../../UMBRELLA.md ),)
327- UNDER_UMBRELLA = 1
326+ else ifneq ($(wildcard ../../../../rabbitmq-components.mk ),)
327+ DISABLE_DISTCLEAN = 1
328328DEPS_DIR ?= $(abspath ../../..)
329329else ifneq ($(wildcard UMBRELLA.md),)
330- UNDER_UMBRELLA = 1
330+ DISABLE_DISTCLEAN = 1
331331endif
332332
333- ifeq ($(UNDER_UMBRELLA ) ,1)
333+ ifeq ($(DISABLE_DISTCLEAN ) ,1)
334334ifneq ($(filter distclean distclean-deps,$(MAKECMDGOALS ) ) ,)
335335SKIP_DEPS = 1
336336endif
You can’t perform that action at this time.
0 commit comments