aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tools
diff options
context:
space:
mode:
authorHenrik Nord <[email protected]>2015-11-16 13:25:03 +0100
committerHenrik Nord <[email protected]>2015-11-16 13:25:03 +0100
commit828867abc55c64f61dd4c0e67dc4e0ad5becf4dc (patch)
treeef60e70964237923af6593eaddbecedeb060e250 /lib/tools
parentb1c85b4310d7b33ddcc6c121a95db1c12a83a882 (diff)
parentc16c45a587a199987dae799ea02fb9c32216854f (diff)
downloadotp-828867abc55c64f61dd4c0e67dc4e0ad5becf4dc.tar.gz
otp-828867abc55c64f61dd4c0e67dc4e0ad5becf4dc.tar.bz2
otp-828867abc55c64f61dd4c0e67dc4e0ad5becf4dc.zip
Merge branch 'maint'
Diffstat (limited to 'lib/tools')
-rw-r--r--lib/tools/src/make.erl10
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/tools/src/make.erl b/lib/tools/src/make.erl
index 96c3e0e506..5d5a1ef2bd 100644
--- a/lib/tools/src/make.erl
+++ b/lib/tools/src/make.erl
@@ -25,12 +25,20 @@
%% If Emakefile is missing the current directory is used.
-module(make).
--export([all/0,all/1,files/1,files/2]).
+-export([all_or_nothing/0,all/0,all/1,files/1,files/2]).
-include_lib("kernel/include/file.hrl").
-define(MakeOpts,[noexec,load,netload,noload]).
+all_or_nothing() ->
+ case all() of
+ up_to_date ->
+ up_to_date;
+ error ->
+ halt(1)
+ end.
+
all() ->
all([]).