[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: since 4.12 'info gettext' opens libc.info
From: |
Sergey Poznyakoff |
Subject: |
Re: since 4.12 'info gettext' opens libc.info |
Date: |
Fri, 30 May 2008 11:58:53 +0300 |
Benno Schulenberg <address@hidden> ha escrit:
> With texinfo-4.12 the arrangement of the main menu is very different
> from what it used to be. With 4.11 the GNU Gettext Utilties sit
> around 10% down in the menu, with 4.12 they sit at around 80%,
> after the whole array of libc variables and functions (among them
> dcgettext, which seems to be what catches the 'info gettext').
>
> Why does 4.12 change the order of the menu?
The info menu is not a single file, instead it is composed from several
`dir' files located in various directories. Thus, its ordering
depends on the order in which these directories are scanned:
I. If the environment variable INFOPATH is defined:
1. Any directories listed in INFOPATH are scanned first.
If its value ends with a `:', the default path (see below) is appended.
2. $(prefix)/share/info directory
3. Any directories specified with the `-d' command line option.
II. If INFOPATH is not defined:
1. $(datadir)/info
2. $(prefix)/share/info, if $(datadir) != $(prefix)/share
3. The default path, which is defined in filesys.h:81.
4. Any directories specified with the `-d' command line option.
So, there are two most probable reasons for the change of menu ordering
between versions 4.11 and 4.12: either your INFOPATH was changed, or
4.12 is compiled with the value of $(datadir) (or $(prefix)), that
differs from that of 4.11.
Regards,
Sergey