From: Michael Jerris Date: Wed, 8 Dec 2010 17:36:26 +0000 (-0500) Subject: return failure from make if build failed X-Git-Tag: v1.2-rc1~236^2~5^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=972500fcc93f816e0a70fa7b64da6636607167e4;p=thirdparty%2Ffreeswitch.git return failure from make if build failed --- diff --git a/Makefile.am b/Makefile.am index aeb31eca01..e701494a2e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -90,6 +90,8 @@ $(RECURSIVE_TARGETS): fi; \ if test -z "$$fail" ; then \ cd $(top_builddir)/build && $(MAKE) $(AM_MAKEFLAGS) $$target || exit 1; \ + else \ + exit 1; \ fi ; CORE_CFLAGS = `$(switch_builddir)/libs/apr/apr-1-config --cflags --cppflags --includes`