www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/28/09:57:45

Date: Tue, 28 Jul 1998 15:43:12 +0000 ( )
From: "Gurunandan R. Bhat" <grbhat AT unigoa DOT ernet DOT in>
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Cc: Ralph Proctor <ralphgpr AT shadow DOT net>, djgpp AT delorie DOT com
Subject: Building Calc (was Re: "makeinfo --force")
In-Reply-To: <Pine.SUN.3.91.980727171757.779I-100000@is>
Message-Id: <Pine.LNX.3.91.980728153120.6126A-100000@aditya.unigoa.ernet.in>
Mime-Version: 1.0


On Mon, 27 Jul 1998, Eli Zaretskii wrote:

> 
> On Mon, 27 Jul 1998, Gurunandan R. Bhat wrote:
> 
> > I then went into the texinfo source of the tutorial 
> > and changed the default names of all info subfiles after which it worked. 
> > I can tell you the details in a day or so.
> 
> Please do.  I don't think the Texinfo source mentions the names of the 
> Info files anywhere.
> 

I rebuild Calc watching carefully this time... Eli was right (No surprise
there ;)). The reason why my info subfiles overwrote each other was that
the Calc makefile tries to build calc.info using makeinfo first. Since
this fails due to unresolved nodes ("Interactive Tutorial" and "Copying",
see inelegant patch below), makeinfo then deletes the .inf file. The
makefile then tries to build calc.info using texinfo.el supplied with
emacs and *this* is not lfn clean. 

If I add ---force as an option in the makefile:
 ($MAKEINFO) --force calc.texinfo,
then makeinfo does not delete the info files and texinfo.el is not used. 
I do not know whether the info files so produced are usable, but as Eli 
said, they are certainly lfn clean 

I have a (possibly inelegant) patch to calc.texinfo which does resolves
the nodes rather simplistically, so that makeinfo, which is, as Eli said
is lfn clean, can go ahead and create the proper subfiles, rather than
using texinfo.el which overwrites files. With this Calc builds without any
breaks. I apologise for any disinformation. Here's my patch: 

244c244
< @node Top, Getting Started,, (dir)
---
> @node Top, Copying,, (dir)
265a266
> * Interactive Tutorial::
522c523
< @node Getting Started, Tutorial, Top, Top
---
> @node Getting Started, Tutorial, Copying, Top
 

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019