]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
return failure from make if build failed
authorMichael Jerris <mike@jerris.com>
Wed, 8 Dec 2010 17:36:26 +0000 (12:36 -0500)
committerMichael Jerris <mike@jerris.com>
Wed, 8 Dec 2010 17:38:22 +0000 (12:38 -0500)
Makefile.am

index aeb31eca01412876ddf55c54ae7234276cea86fa..e701494a2e4a5cfefc981df144a40f06df5f5e2f 100644 (file)
@@ -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`