bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: install-info --remove Leaves "dir" Unmodified


From: Paul Hardy
Subject: Re: install-info --remove Leaves "dir" Unmodified
Date: Sat, 14 Jul 2018 07:39:12 -0700

Gavin,

On Fri, Jul 13, 2018 at 9:14 AM, Gavin Smith <address@hidden> wrote:
>
> On Thu, Jul 12, 2018 at 4:16 AM, Paul Hardy <address@hidden> wrote:
> > After successfully installing a Texinfo page in /usr/local/share/info
> > with install-info, with the "dir" info directory file in that
> > directory correctly updated, an "install-info --remove" command fails.
> > The info file is removed but the "dir" file is not updated to remove
> > that selection.
>
> (install-info should not be deleting any info files - other Makefile
> rules will be doing this.)

Yes, I was not entirely clear.  I manually ran through the steps that
automake produced in a Makefile, and got the same results.

> Maybe there is something wrong with the Info file, e.g. there isn't a
> section START-INFO-DIR-ENTRY inside the Info file.

It turns out there was something wrong with my info file.  I had the
INFO-DIR-SECTION and START-INFO-DIR-ENTRY tags correct,
generated from what was in the original texinfo file.  But my entry
was of the form

     * myprog (myprog)

instead of

     * myprog: (myprog)

That missing ':' made all the difference.  Now "install-info --remove"
acts as expected.

> Have you had this
> problem with several Info files or just one?

I copied another .texi file of mine to create my new .texi file.
It turns out that the original .texi file always had this problem
and I never realized it until testing with it just now.  Because
I had never noticed it, I thought it was correct.

Thank you for your detailed response.


Paul Hardy



reply via email to

[Prev in Thread] Current Thread [Next in Thread]