A package can also include man pages. (Though see the GNU standards on
this matter, section `Man Pages' in The GNU Coding Standards.) Man pages are declared using the `MANS' primary.
Generally the man_MANS
macro is used. Man pages are
automatically installed in the correct subdirectory of mandir
,
based on the file extension.
By default, man pages are installed by `make install'. However,
since the GNU project does not require man pages, many maintainers do
not expend effort to keep the man pages up to date. In these cases, the
no-installman
option will prevent the man pages from being
installed by default. The user can still explicitly install them via
`make install-man'.
Here is how the documentation is handled in GNU cpio
(which
includes both Texinfo documentation and man pages):
info_TEXINFOS = cpio.texi man_MANS = cpio.1 mt.1
Texinfo source and info pages are all considered to be source for the purposes of making a distribution.
Man pages are not currently considered to be source, because it is not uncommon for man pages to be automatically generated.
Go to the first, previous, next, last section, table of contents.