delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/11/18/09:10:44

Sender: rich AT phekda DOT freeserve DOT co DOT uk
Message-ID: <3BF7C0E7.7B98DB62@phekda.freeserve.co.uk>
Date: Sun, 18 Nov 2001 14:08:39 +0000
From: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.19 i586)
X-Accept-Language: de,fr
MIME-Version: 1.0
To: djgpp-workers AT delorie DOT com
Subject: Re: Which 2.13 DSMs (LONG) [Was: Re: Which 2.12.1 source and binary test
zip file]
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1011118100746 DOT 1197G-100000 AT is> <004901c1700e$f553fde0$0a02a8c0 AT acceleron>
Reply-To: djgpp-workers AT delorie DOT com

Hello.

Andrew Cottrell wrote:
[snip]
> To produce the HTML docs, type "makeinfo --html -o which.html
> which.texinfo".  The output from this was the same for both Win 98 and
> Win XP:-
>     DJGPP_204 D:\dj204\gnu\which-2.11\which211>makeinfo --html -o which.html
> which.texinfo
>     which.texinfo:78: warning: @menu seen before first @node, creating `Top'
> node.
>     which.texinfo:78: warning: perhaps your @top node should be wrapped in
> @ifnottex
>      rather than @ifinfo?.
>     ./which.texinfo:78: Next field of node `Top' not pointed to.
>     ./which.texinfo:120: This node (Option Summary) has the bad Prev.
>     makeinfo: Removing output file `which.html' due to errors; use --force
> to preserve.

Ah, that old chesnut. Please find a diff below that fixes this. makeinfo's
suggested fix is correct. I had to do a similar thing for the port of
Fileutils 4.0.
 
> To produce the DVI file, type "make which.dvi".  The output from Win 98 is:
>     DJGPP_204 C:\dj204\gnu\which211>make which.dvi
>     TEXINPUTS=.:$TEXINPUTS \
>       MAKEINFO='makeinfo -I .' texi2dvi which.texinfo
>     c:/dj204/bin/texi2dvi: Could not read $Revision:.
>     c:/dj204/bin/texi2dvi: Could not read 1.10.
>     c:/dj204/bin/texi2dvi: Could not read $.
[snip]

I did not get this error when I invoked texi2dvi manually, e.g. like:

    texi2dvi -c which.texinfo

('-c' for clean up auxillary files.) I didn't try running the Makefile by
hand, but it does support what Eli said about setting SHELL in the
Makefile.

Bye, Rich =]

-- 
Richard Dawe
http://www.phekda.freeserve.co.uk/richdawe/

--- which.texinfo.orig  Sun Nov 18 13:55:37 2001
+++ which.texinfo       Sun Nov 18 13:56:30 2001
@@ -7,7 +7,7 @@
 
 @setchapternewpage odd
 
-@ifinfo
+@ifnottex
 @format
 
 @c !BEGIN INTRO
@@ -41,7 +41,7 @@
 original English.
 @end ignore
 @c !END COPYING
-@end ifinfo
+@end ifnottex
 
 @titlepage
 @title Which
@@ -62,7 +62,7 @@
 
 @end titlepage
 
-@ifinfo
+@ifnottex
 @node Top, Which Program, (dir), (dir)
 @top @command{which}: Show the full path of commands
 
@@ -73,7 +73,7 @@
 
 @noindent
 This file documents @command{which} version @value{VERSION}, updated
@value{UPDATED}.
-@end ifinfo
+@end ifnottex
 
 @menu
 * Which Program::               The @command{which} Program

- Raw text -


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