|
From: <ta...@us...> - 2009-11-02 20:52:48
|
Revision: 9937
http://zaf.svn.sourceforge.net/zaf/?rev=9937&view=rev
Author: tagdev
Date: 2009-11-02 20:52:41 +0000 (Mon, 02 Nov 2009)
Log Message:
-----------
Make the Aspell dictionary build terminate after a first failure point
Modified Paths:
--------------
trunk/dict/Makefile
Modified: trunk/dict/Makefile
===================================================================
--- trunk/dict/Makefile 2009-11-02 20:27:43 UTC (rev 9936)
+++ trunk/dict/Makefile 2009-11-02 20:52:41 UTC (rev 9937)
@@ -27,8 +27,14 @@
export EXT:=$(EXT)
+# Define helper to check for build errors and to terminate upon failure
+define check-exit
+|| exit 1
+endef
+
+
all: $(TARGETS)
$(LANGUAGES): utils
@@ -78,7 +84,7 @@
$(foreach SUBDIR,$(TARGETS), $(MAKE) -C $(SUBDIR) clean ; )
aspell:
- $(foreach SUBDIR,$(LANGUAGES), $(MAKE) -C $(SUBDIR) aspell ; )
+ $(foreach SUBDIR,$(LANGUAGES), $(MAKE) -C $(SUBDIR) aspell $(check-exit) )
myspell:
$(foreach SUBDIR,$(LANGUAGES), $(MAKE) -C $(SUBDIR) myspell ; )
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|