bug-automake
[Top][All Lists]
Advanced

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

Re: info_TEXINFOS should not assume source file exists


From: Ralf Wildenhues
Subject: Re: info_TEXINFOS should not assume source file exists
Date: Wed, 9 May 2007 10:01:04 +0200
User-agent: Mutt/1.5.15 (2007-04-29)

Hello Noah,

* Noah Slater wrote on Mon, May 07, 2007 at 07:36:26PM CEST:
>
> I generate my "foo.texi" Texinfo documentation from DocBook
> ("foo.dbk") and using the info_TEXINFOS rule in my Makefile.am causes
> automake to check for "foo.texi" before completing.

Well, yes, automake needs to know about @setfilename to infer the info
file name, whether you include a `version.texi' file, and similar
things.

I think you may be able to get around this using nodist_info_TEXINFOS
instead.  If you still want foo.texi (and maybe also the info file)
distributed (and thus generated in the source tree), then I suggest that
you add it/them (and all its prerequisites) to EXTRA_DIST, but it sounds
like you don't (and thus require the users of your package to have
texinfo installed).

> As "foo.texi" is generated by a rule in my Makefile I have to have my
> bootstrap script touch the "foo.texi" file and then cat some content
> in to it to fool automake.

That does not sound like a good idea.

Hope that helps.

Cheers,
Ralf




reply via email to

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