]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Support installing manpages for multiple or alternate architecture(s).
authorian <ian@FreeBSD.org>
Fri, 20 Jul 2018 14:23:01 +0000 (14:23 +0000)
committerian <ian@FreeBSD.org>
Fri, 20 Jul 2018 14:23:01 +0000 (14:23 +0000)
commitec014f8e409f4d48c49b0ea1cb4e24bbb2cc949c
tree27ab89aa99104fcc550bad7596a7ea416388bb4f
parentc8e20b8457cf1fd2a7f836502544111ddd06ee07
Support installing manpages for multiple or alternate architecture(s).

Some section-4 manpages are architecture-specific, and the build process
currently generates only the pages for the MACHINE_CPUARCH being built.
man(1) supports a '-m' option to find manpages belonging to an arbitrary
architecture other than the MACHINE_[CPU]ARCH, but we have no way to
generate and install alternate-arch pages right now.

This change adds a new make.conf variable, MAN_ARCH, which can be a list of
one or more MACHINE_ARCH or MACHINE_CPUARCH values. All arch-specific
manpages that exist for the named arches will be installed. If unset, it
continues the behavior of installing just the MACHINE_CPUARCH being built.

Differential Revision: https://reviews.freebsd.org/D16198
share/man/man4/Makefile
share/man/man5/make.conf.5