[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

7.14 Automated Man Pages

AutoOpts provides two templates for producing man pages. The command (‘man1’) pages are derived from the options definition file, and the library (‘man3’) pages are derived from stylized comments (see section Invoking getdefs).

Man pages include a date in the footer. By default, this is derived from the current date. However, this may be overridden with the MAN_PAGE_DATE environment variable. If set and not empty, its contents will be copied into where the output of date '+%d %b %Y' would otherwise go.

Man pages may be formatted as either traditional man pages or using mdoc formatting. The format is selected by selecting the appropriate template.

This document was generated by Bruce Korb on August 21, 2015 using texi2html 1.82.