From 58351e5fa31ff2267d912913df12d126af886d1d Mon Sep 17 00:00:00 2001 From: Tim Watson Date: Thu, 21 Jun 2012 10:45:34 +0100 Subject: Run additional xref checks in the broker when plugins-src is available. Output full paths and line numbers for analysis. Differentiate between warnings and error where appropriate. --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 49bf926a..b637edc8 100644 --- a/Makefile +++ b/Makefile @@ -111,9 +111,17 @@ plugins: PLUGINS_SRC_DIR="" $(MAKE) -C "$(PLUGINS_SRC_DIR)" plugins-dist PLUGINS_DIST_DIR="$(CURDIR)/$(PLUGINS_DIR)" VERSION=$(VERSION) echo "Put your EZs here and use rabbitmq-plugins to enable them." > $(PLUGINS_DIR)/README rm -f $(PLUGINS_DIR)/rabbit_common*.ez + +# add -q to remove printout of warnings.... +check-xref: $(BEAM_TARGETS) $(PLUGINS_DIR) + rm -rf lib # just in case! + ./check_xref $(PLUGINS_DIR) + else plugins: # Not building plugins +check-xref: +# No xref checks enabled endif $(DEPS_FILE): $(SOURCES) $(INCLUDES) -- cgit v1.2.1