Merge pull request #51 from rlipscombe/rl-rebar-var

Allow overriding rebar location.
This commit is contained in:
Jordan Wilberding 2014-03-19 18:14:25 +01:00
commit 6fb5213f6a

View file

@ -12,7 +12,7 @@ ERLFLAGS= -pa $(CURDIR)/.eunit -pa $(CURDIR)/ebin -pa $(CURDIR)/*/ebin
# Verify that the programs we need to run are installed on this system
# =============================================================================
REBAR=$(shell which rebar)
REBAR ?= $(shell which rebar)
ifeq ($(REBAR),)
$(error "Rebar not available on this system")