From d9a83413afa2588662f1c1dfa7213fc695dec7e8 Mon Sep 17 00:00:00 2001 From: Roger Lipscombe Date: Wed, 19 Mar 2014 12:38:07 +0000 Subject: [PATCH] Allow overriding rebar location. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 47acb32..0269ee8 100644 --- a/Makefile +++ b/Makefile @@ -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")