comparison doc/liboctave/Makefile.am @ 15267:df3939195fbb

Serialize texi2dvi and texi2pdf commands with Makefile rule Race condition is still present in texi2XXX comands from Tex and the problem isn't solved with using a separate build directory. * doc/faq/Makefile.am, doc/interpreter/Makefile.am, doc/liboctave/Makefile.am: Add Makefile rule to serialize dvi and pdf builds.
author Rik <rik@octave.org>
date Thu, 30 Aug 2012 17:18:50 -0700
parents 87f337783d95
children d63878346099
comparison
equal deleted inserted replaced
15266:219dcb37bdf9 15267:df3939195fbb
1 # Makefile for octave's doc/liboctave directory 1 # Makefile for Octave's doc/liboctave directory
2 # 2 #
3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4 # 2005, 2006, 2007 John W. Eaton 4 # 2005, 2006, 2007 John W. Eaton
5 # 5 #
6 # This file is part of Octave. 6 # This file is part of Octave.
46 quad.texi \ 46 quad.texi \
47 range.texi 47 range.texi
48 48
49 all-local: dvi html pdf ps 49 all-local: dvi html pdf ps
50 50
51 ## The texi2dvi script (used to create both PDF and DVI output formats)
52 ## uses some fixed temporary file names. In order to avoid a race condition
53 ## the DVI and PDF builds are forced to run serially through a Makefile rule.
54 liboctave.pdf: liboctave.dvi
55
51 EXTRA_DIST = liboctave.dvi liboctave.html liboctave.pdf liboctave.ps 56 EXTRA_DIST = liboctave.dvi liboctave.html liboctave.pdf liboctave.ps
52 57
53 clean-local: 58 clean-local:
54 rm -rf t2d_cache 59 rm -rf t2d_cache
55 60