Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 22 lines (15 sloc) 0.515 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
015afcf Dependencies are now subtreeized
Yurii Rashkovskii authored
13 compile: $(ERL)
0ad4fc6 Build Erlang if it is not present on the host
Yurii Rashkovskii authored
14 @$(REBAR) compile
15
16 $(ERL):
fbe8261 Always use self-contained Erlang (R15B01 at the moment)
Yurii Rashkovskii authored
17 @KERL_CONFIGURE_OPTIONS=$(KERL_CONFIG_OPTS) KERL_INSTALL_AGNERIZED_REBAR=n HOME=$(HERE) ./kerl build R15B01 r15b01
18 @KERL_CONFIGURE_OPTIONS=$(KERL_CONFIG_OPTS) KERL_INSTALL_AGNERIZED_REBAR=n HOME=$(HERE) ./kerl install r15b01 erlang
35a8243 @yrashk Adds a Makefile
yrashk authored
19
b4600ca Adds make clean target
Yurii Rashkovskii authored
20 clean:
21 @$(REBAR) clean && rm -rf rel/htoad
Something went wrong with that request. Please try again.