summaryrefslogtreecommitdiff
path: root/Makefile
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
commit41f1bb358e05ab267e5face48d796eb89c5026df (patch)
tree147c85c27348903f5a1570708b03d239420f3cf6 /Makefile
parente185a3dea814adbeb8a7d2b33b547790c232bcd2 (diff)
downloadrabbitmq-server-git-41f1bb358e05ab267e5face48d796eb89c5026df.tar.gz
Fix a couple of Makefile variable references (important to make cleandb non-dangerous!)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 3b7a3fa3ca..a7415f0000 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 ###################