Reinstate the `prepare-dist` tasks for rabbitmq components
The consolidation of `rabbitmq-components.mk` broke the previous method by which rabbit components were detected. Now we check $(RABBITMQ_COMPONENTS) directly.
This commit is contained in:
parent
db420ef933
commit
b62c5499ce
|
@ -185,10 +185,13 @@ $(ERLANGMK_DIST_EZS):
|
|||
$(call core_unix_path,$(SRC_DIR))/ $(call core_unix_path,$(EZ_DIR))/
|
||||
@# Give a chance to the application to make any modification it
|
||||
@# wants to the tree before we make an archive.
|
||||
$(verbose) ! (test -f $(SRC_DIR)/rabbitmq-components.mk \
|
||||
&& grep -q '^prepare-dist::' $(SRC_DIR)/Makefile) || \
|
||||
ifneq ($(RABBITMQ_COMPONENTS),)
|
||||
ifneq ($(filter $(PROJECT),$(RABBITMQ_COMPONENTS)),)
|
||||
$(verbose) ! (grep -q '^prepare-dist::' $(SRC_DIR)/Makefile) || \
|
||||
$(MAKE) --no-print-directory -C $(SRC_DIR) prepare-dist \
|
||||
APP=$(APP) VSN=$(VSN) EZ_DIR=$(EZ_DIR)
|
||||
endif
|
||||
endif
|
||||
ifneq ($(DIST_AS_EZS),)
|
||||
$(verbose) (cd $(DIST_DIR) && \
|
||||
find "$(basename $(notdir $@))" | LC_COLLATE=C sort \
|
||||
|
|
Loading…
Reference in New Issue