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::
316
316
# Umbrella-specific settings.
317
317
# --------------------------------------------------------------------
318
318
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.
322
322
323
- ifneq ($(wildcard ../../UMBRELLA.md ) ,)
324
- UNDER_UMBRELLA = 1
323
+ ifneq ($(wildcard ../../rabbitmq-components.mk ) ,)
324
+ DISABLE_DISTCLEAN = 1
325
325
DEPS_DIR ?= $(abspath ..)
326
- else ifneq ($(wildcard ../../../../UMBRELLA.md ),)
327
- UNDER_UMBRELLA = 1
326
+ else ifneq ($(wildcard ../../../../rabbitmq-components.mk ),)
327
+ DISABLE_DISTCLEAN = 1
328
328
DEPS_DIR ?= $(abspath ../../..)
329
329
else ifneq ($(wildcard UMBRELLA.md),)
330
- UNDER_UMBRELLA = 1
330
+ DISABLE_DISTCLEAN = 1
331
331
endif
332
332
333
- ifeq ($(UNDER_UMBRELLA ) ,1)
333
+ ifeq ($(DISABLE_DISTCLEAN ) ,1)
334
334
ifneq ($(filter distclean distclean-deps,$(MAKECMDGOALS ) ) ,)
335
335
SKIP_DEPS = 1
336
336
endif
You can’t perform that action at this time.
0 commit comments