diff options
author | Tim Watson <tim@rabbitmq.com> | 2012-06-21 10:45:34 +0100 |
---|---|---|
committer | Tim Watson <tim@rabbitmq.com> | 2012-06-21 10:45:34 +0100 |
commit | 58351e5fa31ff2267d912913df12d126af886d1d (patch) | |
tree | da93f1f919b944e7f8b07fba351041729ef24dcb /Makefile | |
parent | 8439d39f7ab1666517467c9d07624001a605cdd6 (diff) | |
download | rabbitmq-server-58351e5fa31ff2267d912913df12d126af886d1d.tar.gz |
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.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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) |