[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH 2/7] [xen-ocaml-tools.hg] make should stop if anything fails!




Make "make" bail out on first failure so that it's easier to spot!

Signed-off-by: Alex Zeffertt <alex.zeffertt@xxxxxxxxxxxxx>

diff -r 45ec73c60222 Makefile
--- a/Makefile  Tue Mar 24 15:08:15 2009 +0000
+++ b/Makefile  Wed Mar 25 13:03:27 2009 +0000
@@ -6,7 +6,7 @@
 SUBDIRS        = libs common xenstored 
 
 bins:
-       @for dir in $(SUBDIRS); do \
+       @set -e ; for dir in $(SUBDIRS); do \
                $(MAKE) -C $$dir; \
        done
 
diff -r 45ec73c60222 libs/Makefile
--- a/libs/Makefile     Tue Mar 24 15:08:15 2009 +0000
+++ b/libs/Makefile     Wed Mar 25 13:03:27 2009 +0000
@@ -2,7 +2,7 @@
 
 .PHONY: all
 all: 
-       @for dir in $(SUBDIRS); do \
+       @set -e ; for dir in $(SUBDIRS); do \
                $(MAKE) -C $$dir; \
        done
 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.