summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorloong0 <longlene@gmail.com>2021-08-26 20:33:37 +0800
committerloong0 <longlene@gmail.com>2021-08-26 20:33:37 +0800
commit9643e18be7c46ca8ee1bd6a1cb8ee995c455136b (patch)
tree743f94704d7f2107dbaa71b76df76db947bde7c1 /Makefile.in
parentnode_flat: Avoid catch-all clauses for RSM (diff)
minor fix
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile.in b/Makefile.in
index c39195ac..6549665f 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -99,12 +99,12 @@ ifneq ($(INSTALLGROUP),)
endif
ifeq "$(MIX)" "mix"
-IS_REBAR:=6
+REBAR_VER:=6
else
-IS_REBAR:=$(shell expr `$(REBAR) --version | awk -F '[ .]' '/rebar / {print $$2}'`)
+REBAR_VER:=$(shell $(REBAR) --version | awk -F '[ .]' '/rebar / {print $$2}')
endif
-ifeq "$(IS_REBAR)" "6"
+ifeq "$(REBAR_VER)" "6"
REBAR=$(MIX)
SKIPDEPS=
LISTDEPS=deps.tree
@@ -118,7 +118,7 @@ ifeq "$(IS_REBAR)" "6"
REBARREL=MIX_ENV=prod $(REBAR) release --overwrite
REBARDEV=MIX_ENV=dev $(REBAR) release --overwrite
else
-ifeq "$(IS_REBAR)" "3"
+ifeq "$(REBAR_VER)" "3"
SKIPDEPS=
LISTDEPS=tree
UPDATEDEPS=upgrade
@@ -398,7 +398,7 @@ TAGS:
Makefile: Makefile.in
-ifeq "$(IS_REBAR)" "3"
+ifeq "$(REBAR_VER)" "3"
dialyzer:
$(REBAR) dialyzer
else