bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: texi2dvi ignores -o under unclear circumstances.


From: Jack Kelly
Subject: Re: texi2dvi ignores -o under unclear circumstances.
Date: Wed, 12 Aug 2009 07:26:25 +1000

On Wed, Aug 12, 2009 at 4:29 AM, Karl Berry<address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]