Date: Sun, 12 Jan 1997 22:04:58 +0800 From: Peter Wemm <peter@spinner.DIALix.COM> To: Josh MacDonald <jmacd@CS.Berkeley.EDU> Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-user@freefall.freebsd.org Subject: Re: cvs commit: src/contrib/libgmp gmp.texi Message-ID: <199701121404.WAA09415@spinner.DIALix.COM> In-Reply-To: Your message of "Sun, 12 Jan 1997 05:32:49 PST." <199701121333.FAA13101@paris.CS.Berkeley.EDU>
next in thread | previous in thread | raw e-mail | index | archive | help
Josh MacDonald wrote:
[..]
> > There is a switch to install-info, ``--entry'' at first glance looked like
> > it should be able to solve the problem, but instead it causes an
> > additional "dir" entry instead of replacing the embedded string. We need
> > some way of supplying an alternative "dir" entry.
> Describe precisely the changes you want to install-info and I'll make them.
> I already understand it (and modified it to add the --defentry and
> --defsection flags).
We need install-info to be able to deal with this:
* gmp: (gmp.info). GNU Multiple Precision Arithmetic Library.
^^^^^^^^^
If we change gmp.texi to drop the .info off the end, it works. Otherwise
this happens:
===> doc
install-info --defsection="Programming & development tools." --defentry= \
gmp.info /usr/share/info/dir
install-info: menu item `gmp' already exists, for file `gmp.info'
*** Error code 1
Also, the install-info --delete option doesn't work if the .info is
present, but works fine if it's removed.
Alternatively we need to be able to specify a replacement for the entry
START-INFO-DIR-ENTRY
* gmp: (gmp.info). GNU Multiple Precision Arithmetic Library.
END-INFO-DIR-ENTRY
eg:
install-info --defsection="Programming & development tools." --defentry= \
--forceentry="* gmp: (gmp). GNU Multiple Precision Arithmetic Library." \
gmp.info /usr/share/info/dir
This is also needed so that the change to src/contrib/gcc/cp/reno.texi can
be backed out.
Changing the .texi files to work around bugs or deficiencies in the install
utility is highly undesirable as it leads to a large repository impact when
it comes time to upgrade the src/contrib packages. (CVS is extremely
inefficient here due to the RCS file format)
> -josh
Cheers,
-Peter
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701121404.WAA09415>
