aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTristan Sloughter <[email protected]>2013-02-04 09:58:20 -0600
committerTristan Sloughter <[email protected]>2013-02-04 10:01:44 -0600
commit1207514752a0e522893c60eb6434cb4a8117a7f1 (patch)
tree4569425116ffb93cf5df93ec6dbc5c56e30763ea /Makefile
parent62b4f79fa00e7cc5f44621efbd4356a582fbbfb8 (diff)
downloadrelx-1207514752a0e522893c60eb6434cb4a8117a7f1.tar.gz
relx-1207514752a0e522893c60eb6434cb4a8117a7f1.tar.bz2
relx-1207514752a0e522893c60eb6434cb4a8117a7f1.zip
make all grabs deps if deps dir does not exist
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a7e9bb6..96e14ae 100644
--- a/Makefile
+++ b/Makefile
@@ -38,16 +38,20 @@ endif
.PHONY: all compile doc clean test dialyzer typer shell distclean pdf \
get-deps escript clean-common-test-data rebuild
-all: compile escript dialyzer test
+all: deps compile escript dialyzer test
# =============================================================================
# Rules to build the system
# =============================================================================
-get-deps:
+deps:
$(REBAR) get-deps
$(REBAR) compile
+update-deps:
+ $(REBAR) update-deps
+ $(REBAR) compile
+
compile:
$(REBAR) skip_deps=true compile