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 | 8d490ed2226235ebaa4d7132c19dc204b326ac2f (patch) | |
| tree | da93f1f919b944e7f8b07fba351041729ef24dcb /Makefile | |
| parent | ae303c32ffe9980460fa4b1838475e077e79aead (diff) | |
| download | rabbitmq-server-git-8d490ed2226235ebaa4d7132c19dc204b326ac2f.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) |
