From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Zeffertt Subject: [PATCH 2/7] [xen-ocaml-tools.hg] make should stop if anything fails! Date: Fri, 17 Apr 2009 16:44:11 +0100 Message-ID: <49E8A3CB.6080404@eu.citrix.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------060207090801020208070907" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------060207090801020208070907 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit --------------060207090801020208070907 Content-Type: text/plain; name="fail-on-build-error" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="fail-on-build-error" Make "make" bail out on first failure so that it's easier to spot! Signed-off-by: Alex Zeffertt 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 --------------060207090801020208070907 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------060207090801020208070907--