Skip to contentSkip to conversation

make should stop if anything fails!

PATCH In review Alex Zeffertt 1 participant 1 message Apr 17, 2009 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 2/7 make should stop if anything fails!

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

Makefile +1 -1
diff -r 45ec73c60222 Makefile
@@ -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
 
libs/Makefile +1 -1
diff -r 45ec73c60222 libs/Makefile
@@ -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
[email protected]
http://lists.xensource.com/xen-devel