Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Change which can specify rebar

Some users may use not rebar attached but installed in the system.
This changes which can specify rebar.

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@debian.org>
  • Loading branch information...
commit 0e1aba0deb1fcb56565f06630168f050da81c633 1 parent 4921999
Nobuhiro Iwamatsu authored

Showing 1 changed file with 13 additions and 12 deletions. Show diff stats Hide diff stats

  1. +13 12 Makefile
25 Makefile
... ... @@ -1,22 +1,23 @@
1 1 .PHONY: deps test
2 2
  3 +REBAR := ./rebar
3 4 all:
4   - @./rebar update-deps
5   - @./rebar get-deps
6   - @./rebar compile
7   - @./rebar xref skip_deps=true
8   - @./rebar eunit skip_deps=true
  5 + @$(REBAR) update-deps
  6 + @$(REBAR) get-deps
  7 + @$(REBAR) compile
  8 + @$(REBAR) xref skip_deps=true
  9 + @$(REBAR) eunit skip_deps=true
9 10 compile:
10   - @./rebar compile skip_deps=true
  11 + @$(REBAR) compile skip_deps=true
11 12 xref:
12   - @./rebar xref skip_deps=true
  13 + @$(REBAR) xref skip_deps=true
13 14 eunit:
14   - @./rebar eunit skip_deps=true
  15 + @$(REBAR) eunit skip_deps=true
15 16 clean:
16   - @./rebar clean skip_deps=true
  17 + @$(REBAR) clean skip_deps=true
17 18 distclean:
18   - @./rebar delete-deps
19   - @./rebar clean
  19 + @$(REBAR) delete-deps
  20 + @$(REBAR) clean
20 21 qc:
21   - @./rebar qc skip_deps=true
  22 + @$(REBAR) qc skip_deps=true
22 23

0 comments on commit 0e1aba0

Please sign in to comment.
Something went wrong with that request. Please try again.