From owner-freebsd-bugs Fri Aug 30 04:30:23 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id EAA10126 for bugs-outgoing; Fri, 30 Aug 1996 04:30:23 -0700 (PDT) Received: from ghpc6.ihf.rwth-aachen.de (ghpc6.ihf.RWTH-Aachen.DE [134.130.90.6]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id EAA10120 for ; Fri, 30 Aug 1996 04:30:14 -0700 (PDT) Received: (from thomas@localhost) by ghpc6.ihf.rwth-aachen.de (8.6.12/8.6.9) id NAA07174; Fri, 30 Aug 1996 13:30:05 +0200 From: Thomas Gellekum Message-Id: <199608301130.NAA07174@ghpc6.ihf.rwth-aachen.de> Subject: Re: gnu/1550: "make install" needs to know how to update /usr/local/info/dir To: asami@freebsd.org Date: Fri, 30 Aug 1996 13:30:04 +0200 (MET DST) Cc: freebsd-bugs@freefall.freebsd.org In-Reply-To: <199608300930.CAA28383@freefall.freebsd.org> from Satoshi Asami at "Aug 30, 96 02:30:03 am" Organization: Institut f. Hochfrequenztechnik, RWTH Aachen X-Mailer: ELM [version 2.4ME+ PL11 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Satoshi Asami wrote: > The following reply was made to PR ports/1550; it has been noted by GNATS. > > From: asami@freebsd.org (Satoshi Asami) > To: FreeBSD-gnats-submit@freefall.FreeBSD.org, tli@jnx.com > Cc: Subject: Re: gnu/1550: "make install" needs to know how to update /usr/local/info/dir > Date: Fri, 30 Aug 1996 02:25:16 -0700 (PDT) > > * If a port installs info-style documentation in /usr/local/info, it > * should update /usr/local/info/dir so that there's an index to it. > > I agree. But how? ;) > > This has been discussed before, and no solution came up. The closest > (I think) was the idea to write a utility to add to and delete entries > from dir safely. Something that takes arguments like "section name", > "info file name" and "comment". (And it created the section if it > doesn't exist, etc....) There's a utility called gen-dir-node (hope I got it right) in the texinfo distribution. It requires the `right' layout for the info files (don't ask me about details currently, I'd have to take a look myself). We should probably move texinfo to src/contrib anyway ... As an aside: can mtree be persuaded to install a link localdir->dir in /usr/local/info when run in the install target? tg