Page MenuHomeFreeBSD

Support installing manpages for multiple or alternate architecture(s).
ClosedPublic

Authored by ian on Jul 9 2018, 3:02 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jul 1, 12:05 PM
Unknown Object (File)
Sun, Jun 30, 2:42 AM
Unknown Object (File)
Sat, Jun 29, 6:21 AM
Unknown Object (File)
Sat, Jun 29, 1:12 AM
Unknown Object (File)
Sat, Jun 29, 12:05 AM
Unknown Object (File)
Wed, Jun 26, 12:37 PM
Unknown Object (File)
Sat, Jun 22, 6:55 AM
Unknown Object (File)
Sat, Jun 22, 6:54 AM
Subscribers

Details

Summary

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 changes 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 current behavior of installing just the MACHINE_CPUARCH being built.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ian retitled this revision from Support installing manpage for multiple or alternate architecture(s). to Support installing manpages for multiple or alternate architecture(s)..

By popular demand (on irc), support a special MAN_ARCH value of "all" to install all available arches. Also, update the wording of the make.conf entry to use MACHINE and MACHINE_ARCH, to match the terms used in man(1).

This revision is now accepted and ready to land.Jul 20 2018, 9:26 AM
This revision was automatically updated to reflect the committed changes.