blob: bbad6adf93f3bfc66eb35f5064d3cefc30e12983 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
Index: cloudant_bigcouch/configure
===================================================================
--- cloudant_bigcouch.orig/configure 2014-01-17 15:53:41.428890160 -0500
+++ cloudant_bigcouch/configure 2014-01-17 15:53:41.424890268 -0500
@@ -88,4 +88,4 @@
done
mkdir -p apps/couch/ebin
-./rebar get-deps && ./rebar update-deps && cat rel/bigcouch.config
+rebar get-deps && rebar update-deps && cat rel/bigcouch.config
Index: cloudant_bigcouch/deps/ibrowse/Makefile
===================================================================
--- cloudant_bigcouch.orig/deps/ibrowse/Makefile 2014-01-17 15:53:41.428890160 -0500
+++ cloudant_bigcouch/deps/ibrowse/Makefile 2014-01-17 15:53:41.424890268 -0500
@@ -1,17 +1,17 @@
IBROWSE_VSN = $(shell sed -n 's/.*{vsn,.*"\(.*\)"}.*/\1/p' src/ibrowse.app.src)
all:
- ./rebar compile
+ rebar compile
clean:
- ./rebar clean
+ rebar clean
install: all
mkdir -p $(DESTDIR)/lib/ibrowse-$(IBROWSE_VSN)/
cp -r ebin $(DESTDIR)/lib/ibrowse-$(IBROWSE_VSN)/
test: all
- ./rebar eunit
+ rebar eunit
(cd test; make)
erl -noshell -pa ebin -pa test -s ibrowse -s ibrowse_test unit_tests \
-s ibrowse_test verify_chunked_streaming \
Index: cloudant_bigcouch/Makefile
===================================================================
--- cloudant_bigcouch.orig/Makefile 2014-01-17 15:53:41.428890160 -0500
+++ cloudant_bigcouch/Makefile 2014-01-17 15:54:02.736315986 -0500
@@ -18,23 +18,23 @@
compile:
@echo "==> couchjs (compile)"
@cd couchjs && python scons/scons.py
- @./rebar compile
+ @rebar compile
@sed -i 's/%VSN%/1.1.1-792-gc8a44ff/' $(appfile)
clean:
@echo "==> couchjs (clean)"
@cd couchjs && python scons/scons.py --clean
@rm -rf couchjs/.sconf_temp couchjs/.sconsign.dblite
- @./rebar clean
+ @rebar clean
# compile is required here because of cross-dependencies between apps
check: compile
- @./rebar eunit
+ @rebar eunit
@ERL_FLAGS="-pa `pwd`/apps/couch/ebin" prove apps/couch/test/etap/*.t
dist: compile
@rm -rf rel/bigcouch
- @./rebar generate
+ @rebar generate
distclean: clean
@rm -rf rel/bigcouch
@@ -53,11 +53,11 @@
dev: compile
@rm -rf rel/dev1 rel/dev2 rel/dev3
@echo "==> Building development node #1 (ports 15984/15986)"
- @./rebar generate target_dir=dev1 overlay_vars=dev1.config
+ @rebar generate target_dir=dev1 overlay_vars=dev1.config
@echo "==> Building development node #2 (ports 25984/25986)"
- @./rebar generate target_dir=dev2 overlay_vars=dev2.config
+ @rebar generate target_dir=dev2 overlay_vars=dev2.config
@echo "==> Building development node #3 (ports 35984/35986)"
- @./rebar generate target_dir=dev3 overlay_vars=dev3.config
+ @rebar generate target_dir=dev3 overlay_vars=dev3.config
@echo "\n\
Development nodes are built, and can be started using ./rel/dev[123]/bin/bigcouch.\n\
Once the nodes are started, they must be joined together by editing the local\n\
|