Update rabbitmq-components.mk

This commit is contained in:
Jean-Sébastien Pédron 2018-01-30 15:23:27 +01:00
parent d2dc41b53a
commit 13e35274bb
1 changed files with 1 additions and 26 deletions

View File

@ -303,7 +303,7 @@ prepare-dist::
@:
# --------------------------------------------------------------------
# rabbitmq-components.mk checks.
# Umbrella-specific settings.
# --------------------------------------------------------------------
# If this project is under the Umbrella project, we override $(DEPS_DIR)
@ -325,28 +325,3 @@ ifneq ($(filter distclean distclean-deps,$(MAKECMDGOALS)),)
SKIP_DEPS = 1
endif
endif
UPSTREAM_RMQ_COMPONENTS_MK = $(DEPS_DIR)/rabbit_common/mk/rabbitmq-components.mk
ifeq ($(PROJECT),rabbit_common)
check-rabbitmq-components.mk:
@:
else
check-rabbitmq-components.mk:
$(verbose) cmp -s rabbitmq-components.mk \
$(UPSTREAM_RMQ_COMPONENTS_MK) || \
(echo "error: rabbitmq-components.mk must be updated!" 1>&2; \
false)
endif
ifeq ($(PROJECT),rabbit_common)
rabbitmq-components-mk:
@:
else
rabbitmq-components-mk:
$(gen_verbose) cp -a $(UPSTREAM_RMQ_COMPONENTS_MK) .
ifeq ($(DO_COMMIT),yes)
$(verbose) git diff --quiet rabbitmq-components.mk \
|| git commit -m 'Update rabbitmq-components.mk' rabbitmq-components.mk
endif
endif