Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
install-info(8)
Edit
PageHistory
Diff
Info
LikePages
INSTALL-INFO !!!INSTALL-INFO NAME SYNOPSIS DESCRIPTION SEE ALSO COPYRIGHT ---- !!NAME install-info - create or update entry in Info directory !!SYNOPSIS __install-info__ [[--version] [[--help] [[--debug] [[--maxwidth=nnn] [[--section regexp title] [[--infodir=xxx] [[--align=nnn] [[--quiet] [[--menuentry=xxx] [[--description=xxx] [[--remove | --remove-exactly ] [[--] filename !!DESCRIPTION __install-info__ makes, updates or removes entries in the Info directory, the __dir__ file. When updating or creating entries, if no description is specified on the command line or in the Info file it attempts to guess a description from the contents of the file. See the description of the __--section__ option for details of where the entry will be placed and a description of the expected format of the __dir__ file. __OPTIONS__ __[[--]__ ''filename'' Gives the filename of the Info file whose menu entry is to be created, updated or removed. If __--remove-exactly__ is specified, then ''filename'' should be the exact entry name to be removed (i.e. ''dir__ file (see the __--infodir__ option). If ''filename'' ends in __.gz__ it is taken to refer to a file compressed with GNU gzip; if it doesn't exist, but a corresponding ''filename''__.gz__ does, the latter is used instead. When adding or updating entries the file must exist at the path specified (possibly with an additional __.gz__ extension). __--remove__ Specifies that the entry for the file ''filename'' is to be removed; by default entries are created or updated. If the removal results in a section becoming empty the section heading (and the spare blank line) will be removed as well, unless this is the last section in the file or __--keep-old__ is specified. See the __--section__ option for details about the expected format of the __dir__ file. If there are several suitable entries in the __dir__ file only those in the first matching contiguous group will be removed and the others silently ignored. It is not an error for no suitable entry to be found, though __install-info__ will issue a warning unless the __--quiet__ option was specified. When __--remove__ is specified the __--maxwidth__, __--align__ and __--calign__ formatting options are silently ignored. __--remove-exactly__ This option is essentially the same as __--remove__ except that ''filename'' is taken as the exact entry to be removed, rather than as the name of an existing file. This can be important when trying to remove entries that refer to info files in subdirectories (i.e. ''--remove__ will operate on the basename of the given ''filename'' rather than the exact name given. (i.e. __--remove__ __install-info__ to look for __ __--section__ ''regexp title'' Specifies that, if a new entry is to be made, it should be placed in a section of the __dir__ file whose title matches ''regexp''. If no such section exists one will be created as the second last section in the file (see below), with title ''title''. A section is a part of the __dir__ menu delimited by blank lines; the first line is assumed to be the title. If a new entry is to be created __install-info__ will attempt to insert it within the section according in alphabetic order; if the entries in the section aren't already sorted the new location within the section will be unpredictable. The order of existing entries will not be changed. The default is to append new entries to the end of the file. The last section (even if it only consists of the title line) should always exist, to ensure that new sections are created in the right place. The final section should be titled to reflect the fact that Info files with no more well specified location are appended to it. If there is already an entry for the Info file being installed it is replaced in situ with the new entry. If a section is specified when removing an entry the section is ignored and a warning is issued. If a section is requested when adding an entry but the file contains no section headings at all then __install-info__ will create both the requested section and a Miscellaneous section at the end of the file. __--infodir=__''infodir'' Specifies that the __dir__ file is, and the installed copy of the new Info file was, is or will be located in ''infodir''. The default is __/usr/info__. __--align=__''nnn'' Specifies that the first line of the description should be indented at least ''nnn'' characters; extra spaces will be added as required. If necessary because of the length of the __dir__ menu entry details it may be offset more. The default is 27. __--calign=__''nnn'' Specifies that the second and subsequent lines of the description should be indented at least ''nnn'' characters. The default is 29. __--maxwidth=__''nnn'' Specifies that the maximum width for the Info file is ''nnn''. This is used when wordwrapping the descriptive text. The default is 79. __--quiet__ Prevents the usual display of the new menu entry just before it is inserted, and of the messages announcing the replacement and removal of existing entries and the creation and deletion of sections. __--help__ Causes __install-info__ to display its usage information and exit. __--version__ Causes __install-info__ to display its version and copyright information and exit. __--description=__''xxx'' Specifies that the description to use after the menu entry in new or updated entries be ''xxx''. The default is to use the the value specified in the Info file itself; this is found by searching for a section of the form__ START-INFO-DIR-ENTRY * Auto-PGP: (auto-pgp). PGP under GNU Emacs. END-INFO-DIR-ENTRY__ If the entry found in the Info file itself extends across several lines, each giving a menu entry, the text found in the file is used verbatim. In this case the alphabetic ordering scheme is turned off, and the entries are inserted at the top of section in question. In this case the __--menuentry__, __--maxwidth__, __--align__, __--calign__ and __--menuentry__ options are ignored. If there is no __dir__ entry in the file the program will try to find a paragraph early in the file starting __this file documents__. It will capitalise the first character of the remainder, and use that. It is an error for none of these methods to yield a description. If a description argument is given when __--remove__ is specified it is ignored and a warning is issued. __--menuentry=__''xxx'' Specifies that the entry in the menu should be ''xxx''. The default is to use the the value specified in the Info file itself. If this is not present the basename of the Info file is used (any __.info__ is deleted, and the entry is made mixed case). See above for details of the format expected for the menu entry in the Info file. When removing entries the value of the __--menuentry__ option must match the actual menu entry field in the menu item to be removed (case not significant). If __--menuentry__ is omitted no check on the menu entry is done. __--keep-old__ Inhibits the replacement of existing entries and the removal of empty sections. If the file being installed alreay has an entry in the directory the old entry will be left alone instead of being replaced; the default is to overwrite any old entry found with the newly generated one. If __--remove__ is specified __--keep-old__ will prevent the removal of the section heading which would otherwise happen if the section is made empty by the removal. __--test__ Enables test mode, which inhibits the update of the directory file. __--debug__ Enables debugging mode, in which the results of some internal processing steps are shown. !!SEE ALSO emacs(1), info(1), gzip(1) !!COPYRIGHT Copyright 1994, Ian Jackson. __install-info__ is free software; see the GNU General Public Licence version 2 or later for copying conditions. There is ''no'' warranty. ----
2 pages link to
install-info(8)
:
Man8i
cleanup-info(8)
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.