[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: install-info --remove Leaves "dir" Unmodified
From: |
Gavin Smith |
Subject: |
Re: install-info --remove Leaves "dir" Unmodified |
Date: |
Fri, 13 Jul 2018 17:14:28 +0100 |
On Thu, Jul 12, 2018 at 4:16 AM, Paul Hardy <address@hidden> wrote:
> I looked at message subjects on this list from the past two years but
> this does not seem to have been reported before.
>
> 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.)
I tried testing install-info --remove and it worked fine for me. E.g.
$ cat /home/g/local/share/info/dir
This is the file .../info/dir, which contains the
topmost node of the Info hierarchy, called (dir)Top.
The first time you invoke Info you start off looking at this node.
File: dir, Node: Top This is the top of the INFO tree
This (the Directory node) gives a menu of major topics.
Typing "q" exits, "?" lists all Info commands, "d" returns here,
"h" gives a primer for first-timers,
"mEmacs<Return>" visits the Emacs manual, etc.
In Emacs, you can click mouse button 2 on a menu item or cross reference
to select it.
* Menu:
Individual utilities
* aclocal-invocation: (automake)aclocal Invocation.
Generating aclocal.m4.
* automake-invocation: (automake)automake Invocation.
Generating Makefile.in.
Software development
* Automake: (automake). Making GNU standards-compliant Makefiles.
Texinfo documentation system
* Texinfo: (texinfo). The GNU documentation format.
* info stand-alone: (info-stnd).
Read Info documents without Emacs.
* install-info: (texinfo)Invoking install-info.
Update info/dir entries.
* makeinfo: (texinfo)Invoking makeinfo.
Translate Texinfo source.
* pdftexi2dvi: (texinfo)PDF Output.
PDF output for Texinfo.
* pod2texi: (pod2texi)Invoking pod2texi.
Translate Perl POD to Texinfo.
* texi2dvi: (texinfo)Format with texi2dvi.
Print Texinfo documents.
* texi2pdf: (texinfo)PDF Output.
PDF output for Texinfo.
* texindex: (texinfo)Format with tex/texindex.
Sort Texinfo index files.
$ install-info --info-dir=/home/g/local/share/info --remove doc/info-stnd.info
$ cat /home/g/local/share/info/dir
This is the file .../info/dir, which contains the
topmost node of the Info hierarchy, called (dir)Top.
The first time you invoke Info you start off looking at this node.
File: dir, Node: Top This is the top of the INFO tree
This (the Directory node) gives a menu of major topics.
Typing "q" exits, "?" lists all Info commands, "d" returns here,
"h" gives a primer for first-timers,
"mEmacs<Return>" visits the Emacs manual, etc.
In Emacs, you can click mouse button 2 on a menu item or cross reference
to select it.
* Menu:
Individual utilities
* aclocal-invocation: (automake)aclocal Invocation.
Generating aclocal.m4.
* automake-invocation: (automake)automake Invocation.
Generating Makefile.in.
Software development
* Automake: (automake). Making GNU standards-compliant Makefiles.
Texinfo documentation system
* Texinfo: (texinfo). The GNU documentation format.
* install-info: (texinfo)Invoking install-info.
Update info/dir entries.
* makeinfo: (texinfo)Invoking makeinfo.
Translate Texinfo source.
* pdftexi2dvi: (texinfo)PDF Output.
PDF output for Texinfo.
* pod2texi: (pod2texi)Invoking pod2texi.
Translate Perl POD to Texinfo.
* texi2dvi: (texinfo)Format with texi2dvi.
Print Texinfo documents.
* texi2pdf: (texinfo)PDF Output.
PDF output for Texinfo.
* texindex: (texinfo)Format with tex/texindex.
Sort Texinfo index files.
The "info-stnd" entry has been removed as it should have.
> The relevant "make uninstall" command that automake 1.16.1 generates
> and runs is:
>
> install-info --info-dir='/usr/local/share/info' --remove
> '/usr/local/share/info/my-prog.info'
Maybe there is something wrong with the Info file, e.g. there isn't a
section START-INFO-DIR-ENTRY inside the Info file. Have you had this
problem with several Info files or just one?