changeset 3930:ae627bc6131b

Stop build on failure to create binary package * Makefile.am: exit from make when failing make in binary package build
author John Donoghue <john.donoghue@ieee.org>
date Wed, 06 May 2015 18:57:18 -0400
parents 6cb1bf4d1ab4
children 2e2c311cea41
files Makefile.in
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.in	Tue May 05 15:08:30 2015 -0400
+++ b/Makefile.in	Wed May 06 18:57:18 2015 -0400
@@ -604,7 +604,7 @@
     fi; \
     if [ -f '$(1)/src/Makefile' ]; then \
       $(MAKE) -C '$(1)/src' MKOCTFILE='$(MXE_MKOCTFILE) --verbose' \
-        OCTAVE_CONFIG='$(MXE_OCTAVECONFIG)'; \
+        OCTAVE_CONFIG='$(MXE_OCTAVECONFIG)' || exit 1; \
       rm -f $(1)/src/Makefile; \
     fi; \
     if [ -f '$(1)/src/configure' ]; then \