Skip to content

Commit 8921c7f

Browse files
committed
Fix Makefile to use system rebar
Fix Makefile to use system rebar and extract every usage to the new variable. Also remove binary rebar from repository.
1 parent be81192 commit 8921c7f

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

Makefile

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,24 @@
1+
REBAR=rebar
2+
13
all: compile
24

35
compile:
4-
@./rebar compile
6+
@$(REBAR) compile
57

68
perftest: compile
79
@cd perf && erlc erlzmq_perf.erl
810

911
clean:
10-
@./rebar clean
12+
@$(REBAR) clean
1113

1214
distclean: clean
1315
@cd c_src;make distclean
1416

1517
test: compile
16-
@./rebar eunit
18+
@$(REBAR) eunit
1719

1820
docs:
19-
@./rebar doc
21+
@$(REBAR) doc
2022

2123
bench: perftest
2224
@echo 'Running benchmarks, this could take some time...'

rebar

-145 KB
Binary file not shown.

0 commit comments

Comments
 (0)