aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric <[email protected]>2013-10-14 18:02:17 -0700
committerEric <[email protected]>2013-10-14 18:02:17 -0700
commit383a1687d8850c20a7a5d7ff6c0cd1a5753170b3 (patch)
treeb3ad4696c6525178008dfd6979963b5aaeb36c58
parent53af44d28ee92272911192115c5352e26516e0b3 (diff)
downloadrelx-383a1687d8850c20a7a5d7ff6c0cd1a5753170b3.tar.gz
relx-383a1687d8850c20a7a5d7ff6c0cd1a5753170b3.tar.bz2
relx-383a1687d8850c20a7a5d7ff6c0cd1a5753170b3.zip
make sure the system is compiled before running dialyzer
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 516c2e3..79c2bc4 100644
--- a/Makefile
+++ b/Makefile
@@ -99,13 +99,13 @@ ct: compile clean-common-test-data
test: compile dialyzer eunit ct
-$(DEPS_PLT):
+$(DEPS_PLT): compile
@echo Building local erts plt at $(DEPS_PLT)
@echo
$(DIALYZER) --output_plt $(DEPS_PLT) --build_plt \
--apps erts kernel stdlib -r deps
-dialyzer: $(DEPS_PLT)
+dialyzer: compile $(DEPS_PLT)
$(DIALYZER) --fullpath --plt $(DEPS_PLT) \
-I include -Wrace_conditions -r ./ebin