summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Garnock-Jones <tonyg@lshift.net>2008-12-09 12:03:50 +0000
committerTony Garnock-Jones <tonyg@lshift.net>2008-12-09 12:03:50 +0000
commit8bc7c18336f5160c1322562b24a8e3d0dfd4bb88 (patch)
tree147c85c27348903f5a1570708b03d239420f3cf6
parent4e1d6e006ca49f60324c17bf21f84e65822c46b4 (diff)
downloadrabbitmq-server-8bc7c18336f5160c1322562b24a8e3d0dfd4bb88.tar.gz
Fix a couple of Makefile variable references (important to make cleandb non-dangerous!)
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 3b7a3fa3..a7415f00 100644
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,7 @@ SIBLING_CODEGEN_DIR=../rabbitmq-codegen/
AMQP_CODEGEN_DIR=$(shell [ -d $(SIBLING_CODEGEN_DIR) ] && echo $(SIBLING_CODEGEN_DIR) || echo codegen)
AMQP_SPEC_JSON_PATH=$(AMQP_CODEGEN_DIR)/amqp-0.8.json
-ERL_CALL=erl_call -sname $(NODENAME) -e
+ERL_CALL=erl_call -sname $(RABBITMQ_NODENAME) -e
# for the moment we don't use boot files because they introduce a
# dependency on particular versions of OTP applications
@@ -58,7 +58,7 @@ clean: cleandb
rm -f docs/*.[0-9].gz
cleandb: stop-node
- erl -mnesia dir '"$(MNESIA_DIR)"' -noshell -eval 'lists:foreach(fun file:delete/1, filelib:wildcard(mnesia:system_info(directory) ++ "/*")), halt().'
+ erl -mnesia dir '"$(RABBITMQ_MNESIA_DIR)"' -noshell -eval 'lists:foreach(fun file:delete/1, filelib:wildcard(mnesia:system_info(directory) ++ "/*")), halt().'
############ various tasks to interact with RabbitMQ ###################