Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 25 lines (17 sloc) 0.555 kb
0ad4fc66 »
2012-02-13 Build Erlang if it is not present on the host
1 HERE=$(shell pwd)
2 KERL_CONFIG_OPTS=""
3
fbe82619 »
2012-04-23 Always use self-contained Erlang (R15B01 at the moment)
4 ERL=erlang/bin/erl
4147ea97 »
2012-04-23 Fixes Makefile
5 REBAR=. $(HERE)/erlang/activate && $(HERE)/rebar
0ad4fc66 »
2012-02-13 Build Erlang if it is not present on the host
6
35a8243e »
2012-01-31 Adds a Makefile
7 all: release
8
0ad4fc66 »
2012-02-13 Build Erlang if it is not present on the host
9 release: $(ERL) compile
35a8243e »
2012-01-31 Adds a Makefile
10 @rm -rf rel/htoad
0ad4fc66 »
2012-02-13 Build Erlang if it is not present on the host
11 @$(REBAR) generate
12
13 compile: $(ERL) deps
14 @$(REBAR) compile
15
16 deps: $(ERL)
17 @$(REBAR) get-deps
35a8243e »
2012-01-31 Adds a Makefile
18
0ad4fc66 »
2012-02-13 Build Erlang if it is not present on the host
19 $(ERL):
fbe82619 »
2012-04-23 Always use self-contained Erlang (R15B01 at the moment)
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
35a8243e »
2012-01-31 Adds a Makefile
22
b4600cac »
2012-04-23 Adds make clean target
23 clean:
24 @$(REBAR) clean && rm -rf rel/htoad
Something went wrong with that request. Please try again.