Makefile: adapt rebar calls to new behavior

* rebar prepare-deps is equivalent to rebar -r get-deps compile
* Only rebar *-deps and rebar compile are recursive by default.
  Therefore, we don't need to pass skip_deps=true.


Project: http://git-wip-us.apache.org/repos/asf/couchdb-mochiweb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-mochiweb/commit/0a68bbea
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-mochiweb/tree/0a68bbea
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-mochiweb/diff/0a68bbea

Branch: refs/heads/upstream
Commit: 0a68bbeaf02a424b7e2cb2e35908646657aaee17
Parents: 9090c79
Author: Tuncer Ayaz <[email protected]>
Authored: Fri Jun 27 19:01:46 2014 +0200
Committer: Tuncer Ayaz <[email protected]>
Committed: Fri Jun 27 19:05:19 2014 +0200

----------------------------------------------------------------------
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-mochiweb/blob/0a68bbea/Makefile
----------------------------------------------------------------------
diff --git a/Makefile b/Makefile
index 6ee073d..e53eef5 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ REBAR=./rebar
 .PHONY: all edoc test clean build_plt dialyzer app
 
 all:
-       @$(REBAR) -r get-deps compile
+       @$(REBAR) prepare-deps
 
 edoc:
        @$(REBAR) doc
@@ -14,7 +14,7 @@ edoc:
 test:
        @rm -rf .eunit
        @mkdir -p .eunit
-       @$(REBAR) skip_deps=true eunit
+       @$(REBAR) eunit
 
 clean:
        @$(REBAR) clean

Reply via email to