Skip to content
This repository has been archived by the owner on Nov 17, 2020. It is now read-only.

Commit

Permalink
Update rabbitmq-components.mk
Browse files Browse the repository at this point in the history
  • Loading branch information
dumbbell committed Jan 30, 2018
1 parent a83f4cf commit 9e01d3e
Showing 1 changed file with 1 addition and 26 deletions.
27 changes: 1 addition & 26 deletions rabbitmq-components.mk
Expand Up @@ -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)
Expand All @@ -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

0 comments on commit 9e01d3e

Please sign in to comment.