]> git.ipfire.org Git - thirdparty/automake.git/commit
texinfo: don't clutter the builddir when using modern texi2dvi
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 1 Apr 2012 19:55:09 +0000 (21:55 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 4 Apr 2012 09:13:22 +0000 (11:13 +0200)
commit9fe2ba38429cd307900c785d098f0ee273cc4196
treed542542c4266dae7994cf8fdcc8eb2dde56b07e7
parent24cd4ca144982b8d378cb15023838e301a409f52
texinfo: don't clutter the builddir when using modern texi2dvi

In modern versions of texi2dvi (at least since version 1.135, which
comes with Texinfo 4.13) the '-o' option does not imply anymore the
'--clean' option.  As a consequence, lots of TeX-generated auxiliary
files are now left in the build directory by the 'pdf', 'ps' and
'dvi' rules.

This is especially annoying with non-recursive setups having the
'.texi' files in a subdirectory, as in:

  info_TEXINFOS = doc/foo.texi

In this case, the stray auxiliary files are left in the top build
directory (since TeX is run from there).  See for example:

 <http://lists.gnu.org/archive/html/bug-bison/2012-04/msg00002.html>

See also automake bug#11146.

* lib/am/texibuild.am: Call 'texi2dvi' and 'texi2pdf' with the
'--clean' option.  Update comments accordingly.
* tests/txinfo-noclutter.test: New test.
* tests/txinfo18.test: Remove as obsolete, the still relevant parts
of it moved into the new test.
* tests/list-of-tests.mk: Adjust.
* NEWS: Update.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
NEWS
lib/am/texibuild.am
tests/list-of-tests.mk
tests/txinfo-no-clutter.test [new file with mode: 0755]
tests/txinfo18.test [deleted file]