All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/7] [xen-ocaml-tools.hg] make should stop if anything fails!
@ 2009-04-17 15:44 Alex Zeffertt
  0 siblings, 0 replies; only message in thread
From: Alex Zeffertt @ 2009-04-17 15:44 UTC (permalink / raw)
  To: xen-devel@lists.xensource.com

[-- Attachment #1: Type: text/plain, Size: 1 bytes --]



[-- Attachment #2: fail-on-build-error --]
[-- Type: text/plain, Size: 691 bytes --]

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

Signed-off-by: Alex Zeffertt <alex.zeffertt@eu.citrix.com>

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
 


[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-04-17 15:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-17 15:44 [PATCH 2/7] [xen-ocaml-tools.hg] make should stop if anything fails! Alex Zeffertt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.