WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH 2/7] [xen-ocaml-tools.hg] make should stop if anything fails!
From: Alex Zeffertt <alex.zeffertt@xxxxxxxxxxxxx>
Date: Fri, 17 Apr 2009 16:44:11 +0100
Delivery-date: Fri, 17 Apr 2009 08:46:16 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.19 (X11/20090105)

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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH 2/7] [xen-ocaml-tools.hg] make should stop if anything fails!, Alex Zeffertt <=