Allow overriding rebar location.

This commit is contained in:
Roger Lipscombe 2014-03-19 12:38:07 +00:00
parent b125ce055e
commit d9a83413af

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 # Verify that the programs we need to run are installed on this system
# ============================================================================= # =============================================================================
REBAR=$(shell which rebar) REBAR ?= $(shell which rebar)
ifeq ($(REBAR),) ifeq ($(REBAR),)
$(error "Rebar not available on this system") $(error "Rebar not available on this system")