diff options
author | Andreas Stenius <[email protected]> | 2015-04-17 11:58:10 +0200 |
---|---|---|
committer | Andreas Stenius <[email protected]> | 2015-04-17 11:58:10 +0200 |
commit | 530ae30fcda6d434d3d013b8cb4cdefedd1385a9 (patch) | |
tree | 3653a79a56552b25b644ff31b109765608087563 /core | |
parent | a963e58cd0b0e3fe5026906cfb3649e8a3d5ef23 (diff) | |
download | erlang.mk-530ae30fcda6d434d3d013b8cb4cdefedd1385a9.tar.gz erlang.mk-530ae30fcda6d434d3d013b8cb4cdefedd1385a9.tar.bz2 erlang.mk-530ae30fcda6d434d3d013b8cb4cdefedd1385a9.zip |
propagate failed deps builds.
Unless we return a non-zero result from the deps target, any issues in
the build of a dependency will be masked.
Diffstat (limited to 'core')
-rw-r--r-- | core/deps.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/deps.mk b/core/deps.mk index 879cf43..b0fb2dc 100644 --- a/core/deps.mk +++ b/core/deps.mk @@ -35,7 +35,7 @@ PKG_FILE_URL ?= https://raw.githubusercontent.com/ninenines/erlang.mk/master/pac deps:: $(ALL_DEPS_DIRS) @for dep in $(ALL_DEPS_DIRS) ; do \ if [ -f $$dep/GNUmakefile ] || [ -f $$dep/makefile ] || [ -f $$dep/Makefile ] ; then \ - $(MAKE) -C $$dep ; \ + $(MAKE) -C $$dep || exit $$? ; \ else \ echo "ERROR: No makefile to build dependency $$dep. Consider adding it to AUTOPATCH." ; \ exit 1 ; \ |