Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 23 lines (15 sloc) 0.51 kb
0ad4fc6 Build Erlang if it is not present on the host
Yurii Rashkovskii authored
1 HERE=$(shell pwd)
2 KERL_CONFIG_OPTS=""
3
fbe8261 Always use self-contained Erlang (R15B01 at the moment)
Yurii Rashkovskii authored
4 ERL=erlang/bin/erl
4147ea9 Fixes Makefile
Yurii Rashkovskii authored
5 REBAR=. $(HERE)/erlang/activate && $(HERE)/rebar
0ad4fc6 Build Erlang if it is not present on the host
Yurii Rashkovskii authored
6
35a8243 @yrashk Adds a Makefile
yrashk authored
7 all: release
8
0ad4fc6 Build Erlang if it is not present on the host
Yurii Rashkovskii authored
9 release: $(ERL) compile
35a8243 @yrashk Adds a Makefile
yrashk authored
10 @rm -rf rel/htoad
0ad4fc6 Build Erlang if it is not present on the host
Yurii Rashkovskii authored
11 @$(REBAR) generate
12
13 compile: $(ERL) deps
14 @$(REBAR) compile
15
16 deps: $(ERL)
17 @$(REBAR) get-deps
35a8243 @yrashk Adds a Makefile
yrashk authored
18
0ad4fc6 Build Erlang if it is not present on the host
Yurii Rashkovskii authored
19 $(ERL):
fbe8261 Always use self-contained Erlang (R15B01 at the moment)
Yurii Rashkovskii authored
20 @KERL_CONFIGURE_OPTIONS=$(KERL_CONFIG_OPTS) KERL_INSTALL_AGNERIZED_REBAR=n HOME=$(HERE) ./kerl build R15B01 r15b01
21 @KERL_CONFIGURE_OPTIONS=$(KERL_CONFIG_OPTS) KERL_INSTALL_AGNERIZED_REBAR=n HOME=$(HERE) ./kerl install r15b01 erlang
35a8243 @yrashk Adds a Makefile
yrashk authored
22
Something went wrong with that request. Please try again.