Subject: need help w/ doc/info/Makefile.am & maxima.texi
From: Raymond Toy
Date: Wed, 12 Nov 2008 10:24:33 -0500
Robert Dodier wrote:
> Hi,
>
> I seemed to have dorked up doc/info/Makefile.am.
>
> It all started when I was trying to drain the swamp, erm,
> I mean, get the Maxima version number pasted into the
> Texinfo output. So I created a new file maxima.texi.in which
> has the @VERSION@ macro in it and convinced autoconf
> to generate it. Therefore maxima.texi is not present in a clean
> check-out, which makes autoconf complain when it processes
> doc/info/Makefile.am. So I cut out the mention of maxima.texi
> from doc/info/Makefile.am but now maxima.info doesn't get built.
>
> Can someone tell me how to fix doc/info/Makefile.am so that
> maxima.info gets built? Thanks for your help.
I don't know anything about automake, but adding this to Makefile.am
seems to work:
maxima.info : maxima.texi
makeinfo maxima.texi
Probably missing some dependencies and stuff. It should probably use
$(MAKEINFO) instead of makeinfo. I also note that there doesn't seem to
be a builtin rule to create .info from .texi, which seems to exist in a
(very) old tree that I happen to have lying around.
Ray