Allow overriding rebar location.
This commit is contained in:
parent
b125ce055e
commit
d9a83413af
1 changed files with 1 additions and 1 deletions
2
Makefile
2
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
|
# 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")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue