From xemacs-m  Tue Aug 26 11:22:50 1997
Received: from newman.aventail.com (root@newman.aventail.com [199.238.236.1])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id LAA23564
	for <xemacs-beta@xemacs.org>; Tue, 26 Aug 1997 11:22:49 -0500 (CDT)
Received: from kramer.in.aventail.com (wmperry@kramer.in.aventail.com [192.168.1.12])
	by newman.aventail.com (8.8.5/8.8.5) with ESMTP id JAA03085;
	Tue, 26 Aug 1997 09:22:46 -0700 (PDT)
Received: (from wmperry@localhost)
	by kramer.in.aventail.com (8.8.5/8.8.5) id JAA32100;
	Tue, 26 Aug 1997 09:22:02 -0700
To: Didier Verna <verna@inf.enst.fr>
Cc: xemacs-beta@xemacs.org
Subject: install-info (was Re: package-path questions)
References: <199708191252.OAA05406@metheny.enst.fr> 	<ocroh6ub4s0.fsf@ml.com> <199708261546.SAA04960@merlin.ornet.co.il> <qyjbu2kore8.fsf@metheny.enst.fr>
Errors-to: wmperry@aventail.com
Reply-to: wmperry@aventail.com
X-Face: O~Rn;(l][/-o1sALg4A@xpE:9-"'IR[%;,,!m7</SYF`{vYQ(&RI1&EiH[FvT;J}@f!4kfz
 x_!Y#=y{Uuj9GvUi=cPuajQ(Z42R[wE@{G,sn$qGr5g/wnb*"*ktI+,CD}1Z'wxrM2ag-r0p5I6\nA
 [WJopW_J.WY;
From: wmperry@aventail.com (William M. Perry)
Date: 26 Aug 1997 09:22:02 -0700
In-Reply-To: Didier Verna's message of "26 Aug 1997 18:11:59 +0200"
Message-ID: <86d8n0oqxh.fsf_-_@kramer.in.aventail.com>
Lines: 45
X-Mailer: Gnus v5.4.64/XEmacs 20.3(beta18) - "Bratislava"

Didier Verna <verna@inf.enst.fr> writes:

> To the contrary, if packages are required to provide automatic
> installation through Makefiles (it seems that only Steven's footnote
> package does this right now), I think they should provide automatic info
> installation through a call to install-info as well.
> 
> 	The reasons are:
> 
> 	1/ It's boring to be obliged to make a dir file by hand in a
> 	   package directory. (Without it, for instance, I don't see
> 	   any gnus node after typing C-h i, while I can still reach
> 	   it with `g')
> 
> 	2/ It's boring to be obliged to add manually an entry for each 
>            new package you add in this directory.
> 
> 	3/ Package developers should be the ones to decide in which
> 	   section they want their package to appear in, and under
> 	   which name (cf INFO-DIR-SECTION and START-INFO-DIR-ENTRY)

  I haven't ever had any luck using install-info, and want to for the
Emacs/W3 installation script (since it auto-detects whether install-info is 
available or not).  Anybody got a makefile fragment that actually _works_
with install-info?

  I've got the relevant info in w3.txi:

@dircategory World Wide Web
@dircategory GNU Emacs Lisp
@direntry
* Emacs/W3: (w3).                 Emacs/W3 World Wide Web browser.
@end direntry

  which correctly outputs:

INFO-DIR-SECTION World Wide Web
INFO-DIR-SECTION GNU Emacs Lisp
START-INFO-DIR-ENTRY
* Emacs/W3: (w3).                 Emacs/W3 World Wide Web browser.
END-INFO-DIR-ENTRY

in w3.info

-Bill P.

