dovecot-2.2: Makefile: Fixed build concurrency issues with lib-fts

dovecot at dovecot.org dovecot at dovecot.org
Mon May 11 19:40:35 UTC 2015


details:   http://hg.dovecot.org/dovecot-2.2/rev/7d52d6595f5e
changeset: 18642:7d52d6595f5e
user:      Timo Sirainen <tss at iki.fi>
date:      Mon May 11 22:38:38 2015 +0300
description:
Makefile: Fixed build concurrency issues with lib-fts

diffstat:

 src/lib-fts/Makefile.am |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r e80969ea8684 -r 7d52d6595f5e src/lib-fts/Makefile.am
--- a/src/lib-fts/Makefile.am	Mon May 11 22:37:21 2015 +0300
+++ b/src/lib-fts/Makefile.am	Mon May 11 22:38:38 2015 +0300
@@ -30,12 +30,12 @@
 WordBreakProperty.txt:
 	test -f WordBreakProperty.txt || wget http://www.unicode.org/Public/UNIDATA/auxiliary/WordBreakProperty.txt
 $(srcdir)/word-boundary-data.c: word-boundary-data.awk WordBreakProperty.txt
-	$(AWK) -f $(srcdir)/word-boundary-data.awk < WordBreakProperty.txt > $@
+	$(AWK) -f $(srcdir)/word-boundary-data.awk < WordBreakProperty.txt > $@.tmp && mv $@.tmp $@
 
 PropList.txt:
 	test -f PropList.txt || wget http://www.unicode.org/Public/UNIDATA/PropList.txt
 $(srcdir)/word-break-data.c: word-break-data.awk PropList.txt
-	$(AWK) -f $(srcdir)/word-break-data.awk < PropList.txt > $@
+	$(AWK) -f $(srcdir)/word-break-data.awk < PropList.txt > $@.tmp && mv $@.tmp $@
 
 
 if BUILD_FTS_STEMMER


More information about the dovecot-cvs mailing list