Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 5257bf0a8d
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (20 sloc) 0.587 kB
HERE=$(shell pwd)
KERL_CONFIG_OPTS=""
ifeq ($(shell which erl),)
ERL=erlang/bin/erl
REBAR=". $(HERE)/erlang/activate && $(HERE)/rebar"
else
ERL=$(shell which erl)
REBAR="./rebar"
endif
all: release
release: $(ERL) compile
@rm -rf rel/htoad
@$(REBAR) generate
compile: $(ERL) deps
@$(REBAR) compile
deps: $(ERL)
@$(REBAR) get-deps
$(ERL):
@KERL_CONFIGURE_OPTIONS=$(KERL_CONFIG_OPTS) KERL_INSTALL_AGNERIZED_REBAR=n HOME=$(HERE) ./kerl build R15B r15b
@KERL_CONFIGURE_OPTIONS=$(KERL_CONFIG_OPTS) KERL_INSTALL_AGNERIZED_REBAR=n HOME=$(HERE) ./kerl install r15b erlang
Jump to Line
Something went wrong with that request. Please try again.