![]() |
![]()
| ![]() |
![]()
NAMEgtags.conf - configuration data for GNU Global SYNOPSIS´gtags.conf´
DESCRIPTION´gtags.conf´ has configuration data for global(1), gozilla(1), gtags(1) and htags(1). They look for the following files in this order, and read from the first one that exists and is readable.
[sysconfdir] is ´/usr/local/etc´ by default; you can change it by the --sysconfdir option of the configure script. [objdir] is ´obj´ by default; you can change it by GTAGSOBJDIR or MAKEOBJDIR. Its syntax is similar to termcap(5) except for some extensions described later. A file includes one or more records. You should select a record using a label. Default label is ´default´. If GTAGSLABEL is set, its value is used. Please be aware the meaning of ´default´ is different from that of termcap(5). Lines starting with ´#´ are ignored. A record consists of one or more fields separated by ´:´ and ends with a newline. The first field must have a label name. Each field of the rest has a variable definition. There are three types in those variables.
If data includes ´:´ or newline, you need to quote it by ´\'. An empty field is permitted, but it doesn't make sense. When there is more than one definition, the previous one is adopted. Exceptionally, all values of skip, langmap and gtags_parser are adopted and connected respectively. Variable substitutionVariable substitution similar to sh(1) is available. You can refer to any string variable using ´$´ prefix. For example, the following b has a value ´XYZ´. :a=Y:b=X${a}Z: Including another recordTc is a special variable; it reads in definitions in
another record. It is similar to the tc of termcap(5). Its
syntax is as follows:
CONFIGURATIONAbout variables for each command, please see each manual. You can use the following environment variables as a string
variable. If these variables are set then environment variables of the same
name are set before command execution.
The following variables are also available as a string variable.
By default, each of them has a directory path given by the configure script.
ENVIRONMENTThe following environment variables affect the execution of the commands.
SEE ALSOglobal(1), gozilla(1), gtags(1), htags(1). GNU Global source code tag system
HISTORYThe gtags.conf file appeared in Global-3.0 (1998).
|