[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: texinfo-4.9: texi2dvi '-o' option is broken
From: |
Karl Berry |
Subject: |
Re: texinfo-4.9: texi2dvi '-o' option is broken |
Date: |
Tue, 24 Jul 2007 09:52:48 -0500 |
I think automake is objecting to that, expecting only one copy of
the .dvi file to exist after texi2dvi runs.
I made the change below, let me know.
Unfortunately there are still cases where original.dvi can be left,
namely on subsequent runs (ie, when the cmp succeeds). I am finding it
hard to disentangle the logic of all this.
But I think doing mv instead of cp will at least help the automake test
scenario?
Thanks,
Karl
--- texi2dvi.~1.102.~ 2007-07-24 01:22:18.000000000 -0700
+++ texi2dvi 2007-07-24 07:46:10.000000000 -0700
@@ -553,6 +553,6 @@
fi
if cmp -s "$file" "$testdest"; then :; else
- verbose "Copying $file to $dest"
- cp -p "$file" "$dest"
+ verbose "Moving $file to $dest"
+ mv "$file" "$dest"
fi
fi