blob: bdc5625d9658cd36a9892f61cfbf887e57ae4e33 (
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
|
all: compile
compile:
@ERL_LIBS="`pwd`/apps" ./rebar compile
clean:
@./rebar clean
check: compile
@ERL_LIBS="`pwd`/apps" ./rebar eunit
@ERL_LIBS="`pwd`/apps" prove apps/couch/test/etap/*.t
compilenative:
@./rebar compile erl_opts=native
dist: compile
@rm -rf rel/dbcore
@./rebar generate
distclean: clean
@rm -rf rel/dbcore
@rm -f rel/overlay/etc/default.ini
@rm -f rel/overlay/erts-vsn/bin/erl_call
install: dist
@mkdir -p {{prefix}}/dbcore/
@cp -R rel/dbcore/* {{prefix}}/dbcore/
@mkdir -p {{data}}
@chown {{user}} {{data}}
@mkdir -p {{view}}
@chown {{user}} {{view}}
|