summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAdam Kocoloski <adam@cloudant.com>2010-08-27 11:32:06 -0400
committerAdam Kocoloski <adam@cloudant.com>2010-08-27 11:32:06 -0400
commitf0d05161f569763dc8d00e5149009e6e92f2cebb (patch)
tree22dafeee3d53f81e5b53242e93c31fdb43c717bb /Makefile
parentd8f02331a097a7e8bca6ddd27fc52a02fdc19221 (diff)
'make dev' generates rel/dev[123]
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index bc2b5a50..8939077e 100644
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,6 @@ dist: compile
distclean: clean
@rm -rf rel/dbcore
- @rm -f rel/overlay/etc/default.ini
include install.mk
install: dist
@@ -30,3 +29,12 @@ install: dist
@chown $(user) $(data_dir)
@mkdir -p $(view_dir)
@chown $(user) $(view_dir)
+
+dev: compile
+ @rm -rf rel/dev1 rel/dev2 rel/dev3
+ @echo "==> Building development node #1"
+ @./rebar generate target_dir=dev1 overlay_vars=dev1.config
+ @echo "==> Building development node #2"
+ @./rebar generate target_dir=dev2 overlay_vars=dev2.config
+ @echo "==> Building development node #3"
+ @./rebar generate target_dir=dev3 overlay_vars=dev3.config