view 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
line wrap: on
line source

# Makefile for Octave's doc/liboctave directory
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
#               2005, 2006, 2007 John W. Eaton
#
# This file is part of Octave.
# 
# Octave is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 3 of the License, or (at
# your option) any later version.
# 
# Octave is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
# for more details.
# 
# You should have received a copy of the GNU General Public License
# along with Octave; see the file COPYING.  If not, see
# <http://www.gnu.org/licenses/>.

include $(top_srcdir)/build-aux/common.mk

TEXINFO_TEX = ../texinfo.tex

info_TEXINFOS = liboctave.texi

liboctave_TEXINFOS = \
  array.texi \
  bugs.texi \
  cp-idx.texi \
  dae.texi \
  diffeq.texi \
  error.texi \
  factor.texi \
  fn-idx.texi \
  gpl.texi \
  install.texi \
  intro.texi \
  matvec.texi \
  nleqn.texi \
  nlfunc.texi \
  ode.texi \
  optim.texi \
  preface.texi \
  quad.texi \
  range.texi

all-local: dvi html pdf ps

## The texi2dvi script (used to create both PDF and DVI output formats)
## uses some fixed temporary file names.  In order to avoid a race condition
## the DVI and PDF builds are forced to run serially through a Makefile rule.
liboctave.pdf: liboctave.dvi

EXTRA_DIST = liboctave.dvi liboctave.html liboctave.pdf liboctave.ps

clean-local:
	rm -rf t2d_cache