summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTim Watson <tim@rabbitmq.com>2012-07-04 11:52:14 +0100
committerTim Watson <tim@rabbitmq.com>2012-07-04 11:52:14 +0100
commit84e49bdec97d860d356c95e5b7a44c5f1f8629ab (patch)
treec8a26e2285c9645684b2dee052019cd9182324f6 /Makefile
parentb6474f1c399588a7e71a30aa6e00a2096a74b0ad (diff)
downloadrabbitmq-server-84e49bdec97d860d356c95e5b7a44c5f1f8629ab.tar.gz
ensure the temp directories are deleted before proceeding
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index b637edc8..64109312 100644
--- a/Makefile
+++ b/Makefile
@@ -103,7 +103,7 @@ endif
all: $(TARGETS)
-.PHONY: plugins
+.PHONY: plugins check-xref
ifneq "$(PLUGINS_SRC_DIR)" ""
plugins:
[ -d "$(PLUGINS_SRC_DIR)/rabbitmq-server" ] || ln -s "$(CURDIR)" "$(PLUGINS_SRC_DIR)/rabbitmq-server"
@@ -114,14 +114,16 @@ plugins:
# add -q to remove printout of warnings....
check-xref: $(BEAM_TARGETS) $(PLUGINS_DIR)
- rm -rf lib # just in case!
- ./check_xref $(PLUGINS_DIR)
+ rm -rf lib
+ ./check_xref $(PLUGINS_DIR) -q
else
plugins:
# Not building plugins
+
check-xref:
-# No xref checks enabled
+ $(info xref checks are disabled)
+
endif
$(DEPS_FILE): $(SOURCES) $(INCLUDES)