makewhatis(8) - Linux man page
Name
makewhatis - Create the whatis databaseSynopsis
makewhatis [-u] [-v] [-w] [-s sections ] [-c [catpath]] [manpath]Description
Since other languages use a different term for the NAME section, makewhatis recognizes the equivalent terms in Czech, Italian, Finnish, French, German and Spanish.
If no manpath argument is given, /usr/man is assumed by default.
Options
- -u
- Update database with new pages (file's status was last changed 24 hours ago)
- -v
- Verbose output
- -w
- Use manpath obtained from 'man --path'
- -s sections
- Looks in the sections of manpath or catpath. If the option is absent, the MANSECT env var will be used. If it too is absent, the MANSECT setting in man.conf will be used.
- -c catpath
- The preformatted manual pages located in catpath are scanned. If the argument is not provided, it is assumed to be the first existing directory between /usr/man/preformat and /usr/man.
Examples
To rebuild only /usr/X11R6/man/whatis and /usr/local/man/whatis
- makewhatis /usr/X11R6/man /usr/local/man
To rebuild all the databases, including those of the Finnish, French and Italian translations
- LANGUAGE=fi:fr:it makewhatis -w
Bugs
makewhatis may not handle too well manual pages written with non-standard troff macros, such as the Tcl/Tk pages.makewhatis does not work on preformatted translations.