changeset 15248:e787ba62aacf

specify separate build dirs for texi2dvi and texi2pdf commands * acinclude.m4 (OCTAVE_PROG_TEXI2DVI): Append --build-dir option to TEXI2DVI. (OCTAVE_PROG_TEXI2PDF): Append --build-dir option to TEXI2PDF. * doc/interpreter/Makefile.am: Delete commented .NOTPARALLEL declaration.
author John W. Eaton <jwe@octave.org>
date Tue, 28 Aug 2012 21:07:21 -0400
parents fa8f3955e70a
children 969952fcd30f
files doc/interpreter/Makefile.am m4/acinclude.m4
diffstat 2 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/doc/interpreter/Makefile.am
+++ b/doc/interpreter/Makefile.am
@@ -20,10 +20,6 @@
 
 include $(top_srcdir)/build-aux/common.mk
 
-## Automake generated rules for documentation are not parallel-safe.
-## Restrict current directory to run serially
-## .NOTPARALLEL:
-
 TEXINFO_TEX = ../texinfo.tex
 
 ## Leading PATH_SEPARATOR required due to weak parsing by dvips (12/04/09)
--- a/m4/acinclude.m4
+++ b/m4/acinclude.m4
@@ -1506,6 +1506,7 @@
 "
     OCTAVE_CONFIGURE_WARNING([warn_texi2dvi])
   fi
+  TEXI2DVI="$TEXI2DVI"' --build-dir=texi2dvi-build.$$$$'
   AC_SUBST(TEXI2DVI)
 ])
 dnl
@@ -1532,6 +1533,7 @@
 "
     OCTAVE_CONFIGURE_WARNING([warn_texi2pdf])
   fi
+  TEXI2PDF="$TEXI2PDF"' --build-dir=texi2pdf-build.$$$$'
   AC_SUBST(TEXI2PDF)
 ])
 dnl