On Wed, Aug 12, 2009 at 4:29 AM, Karl Berry<[email protected]> wrote:
> Thanks for the report.
> Running texi2dvi -o doc/foo.dvi doc/foo.texi causes a copy of foo.dvi
I wound up fixing this in my case by adding foo.dvi (equivalent) to
CLEANFILES in Makefile.am. Perhaps automake can change the generated
rules for `make clean' as an interim fix? There'd have to be some
checking that texi2dvi won't clobber files in the working directory.
Alternative: Is it feasible (i.e., portable and otherwise safe) to
change the generated rules for .dvi files. Perhaps phrase this as:
doc/foo.dvi: doc/foo.texi
cd doc && texi2dvi -o foo.dvi foo.texi
instead of
doc/foo.dvi: doc/foo.texi
texi2dvi -o $@ $<
(I'm simplifying here, but hopefully the idea is clear.)
When generating Makefile.in?
-- Jack