asdfuser pushed a commit to branch master.

commit b0c9d1f8186f00f6ab13741618053a9619cdb459
Author: Daniel Willmann <[email protected]>
Date:   Thu Jul 11 09:51:32 2013 +0100

    examples: Make make return an error if one of the examples fails compile
    
    Signed-off-by: Daniel Willmann <[email protected]>
---
 src/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index b534255..f4f49a8 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -88,7 +88,7 @@ DIST_SUBDIRS += $(EXAMPLES_SUBDIRS)
 examples: all-am
        @for d in $(EXAMPLES_SUBDIRS); do \
           echo "Making examples in $$d"; \
-          $(MAKE) $(AM_MAKEFLAGS) -C $$d examples; \
+          $(MAKE) $(AM_MAKEFLAGS) -C $$d examples || exit 1; \
        done
 
 install-examples:

-- 

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk

Reply via email to