]> code.delx.au - gnu-emacs/commitdiff
* Makefile.in (leim): No need to set PARALLEL.
authorGlenn Morris <rgm@gnu.org>
Sat, 19 May 2012 06:34:59 +0000 (23:34 -0700)
committerGlenn Morris <rgm@gnu.org>
Sat, 19 May 2012 06:34:59 +0000 (23:34 -0700)
This predates the use of changed.misc etc to serialize the leim build.
The leim Makefile used to set .NO_PARALLEL/.NOTPARALLEL for the same
reason, but has not done so for many years.

ChangeLog
Makefile.in
leim/Makefile.in

index 3d4e8512af06dff602b4e819858b496068fb3181..dfc5685508ef5159d3e8508ece80c530d0aa31cd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-05-19  Glenn Morris  <rgm@gnu.org>
+
+       * Makefile.in (leim): No need to set PARALLEL.
+
 2012-05-18  Glenn Morris  <rgm@gnu.org>
 
        * Makefile.in (install-arch-indep, install-info, install-man):
index 6af348d1269bae8fa5d5a1c6eac98632ea820699..a007fa00802eb6295a28d2968a07c7fa95968ab3 100644 (file)
@@ -306,11 +306,8 @@ epaths-force: FRC
        ${srcdir}/build-aux/move-if-change epaths.h.$$$$ src/epaths.h
 
 # For parallel make, src should be built before leim.
-# "export PARALLEL=0" is for SGI's Make, to prevent it from
-# running more than 1 process in the leim directory, especially for
-# the $TIT files there.
 leim:   src Makefile FRC
-       cd leim && PARALLEL=0 $(MAKE) all $(MFLAGS)
+       cd leim && $(MAKE) all $(MFLAGS)
 
 lib-src src: lib
 
index 2d9c9b59481840a7f3ca7125d5a2b1bba814a67b..54ed0ad35fe05240b75b3b0f4087a207572b4ce2 100644 (file)
@@ -123,8 +123,15 @@ TIT_SOURCES= \
 ${CHINESE_TIT}: changed.tit
        @true
 
-## FIXME remove subdirs if poss - time-stamping.
+## FIXME remove subdirs if possible - time-stamping.
 ## Emacs should make the directory if it does not exist.
+
+## The changed.* files act to serialize this part of the build.
+## A single Emacs invocation creates all the CHINESE_TIT files.
+## Otherwise in a parallel build multiple Emacs instances could
+## interfere with each other.  If we used GNU make we could probably
+## parallelize this without the need for an explicit rule for each
+## file.
 changed.tit: ${SUBDIRS} ${TIT_SOURCES}
        ${RUN_EMACS} -l ${buildlisppath}/international/titdic-cnv \
          -f batch-titdic-convert -dir quail ${srcdir}/CXTERM-DIC; \