diff options
author | Henrik Nord <[email protected]> | 2015-11-16 13:25:03 +0100 |
---|---|---|
committer | Henrik Nord <[email protected]> | 2015-11-16 13:25:03 +0100 |
commit | 828867abc55c64f61dd4c0e67dc4e0ad5becf4dc (patch) | |
tree | ef60e70964237923af6593eaddbecedeb060e250 /lib/tools | |
parent | b1c85b4310d7b33ddcc6c121a95db1c12a83a882 (diff) | |
parent | c16c45a587a199987dae799ea02fb9c32216854f (diff) | |
download | otp-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.erl | 10 |
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([]). |