* Karl Berry wrote on Wed, Jan 16, 2008 at 08:35:28PM CET: > > Thanks, that was very helpful. I changed the move_to_dest function in > texi2dvi to always move the file if the source and destination are > different, instead of using cmp -s. > > Please give it a try and let me know if there are problems. I'll attach > it for your convenience.
Hmm, I'm currently seeing a couple of test failures in Automake that may be due to this. You should be able to reproduce them like this: wget http://ftp.gnu.org/gnu/automake/automake-1.10.tar.gz gzip -dc automake-1.10.tar.gz | tar xf - mkdir build cd build ../automake-1.10/configure -C make cd tests make check VERBOSE=yes TESTS="txinfo24.test txinfo25.test txinfo28.test" Each failure looks like this: | TEXINPUTS="..:$TEXINPUTS" \ | MAKEINFO='/bin/sh /tmp/t/build/tests/testSubDir/missing --run makeinfo -I ..' \ | texi2dvi -o main.dvi `test -f 'main.texi' || echo '../'`main.texi | /home/ralf/local/bin/texi2dvi: Running etex --file-line-error './../main.texi' ... | This is pdfeTeXk, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) | file:line:error style messages enabled. | entering extended mode | (./../main.texi (/tmp/t/build/tests/testSubDir/build/../texinfo.tex | Loading texinfo [version 2006-10-04.17]: Basics, pdf, fonts, page headings, | tables, conditionals, indexing, sectioning, toc, environments, defuns, macros, | cross references, insertions, (/usr/share/texmf-tetex/tex/generic/epsf/epsf.tex | ) localization, and turning on texinfo input format.) | (/tmp/t/build/tests/testSubDir/build/../version.texi) [1] ) | Output written on main.dvi (1 page, 212 bytes). | Transcript written on main.log. | + test -f main.dvi | FAIL: txinfo24.test where some dvi should be rebuilt in the current directory or so. The test source files automake-1.10/tests/txinfo2[458].test contain more information. Cheers, Ralf
