Commit 0426807b6da771748910d811dc4313e428e02cf6

sammy 2008-04-04T09:17:17

* Abort make with an error if a submake fails, otherwise the error might never be noticed by automated builds.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/unix/Make.rules b/unix/Make.rules
index a073f7a..55f3b69 100644
--- a/unix/Make.rules
+++ b/unix/Make.rules
@@ -1,6 +1,6 @@
 %-recursive:
 ifneq ($(SUBDIRS),)
-	for d in $(SUBDIRS) ; do $(MAKE) -C $$d $* ; done
+	for d in $(SUBDIRS) ; do $(MAKE) -C $$d $* || exit $$? ; done
 else
 	@:
 endif