if zero-length, turns on NO_MLINKS mode for comparing against
man-refs.ent.
After processing (and updating man-refs.ent if needed), run
build_manpages() again without NO_MLINKS, which then produces
an archive containing manual pages that are installed as hard
links (MLINKS), such as tar(1), sound(4), etc., which people
do expect to be available on the website.
Sponsored by: The FreeBSD Foundation
of TESTSBASE and/or TESTSDIR in base/head/.
My observations suggest when TESTSBASE is specified
as a make(1) variable, DESTDIR seems to get lost if
NO_ROOT is also specified.
To work around this, export DESTDIR earlier, and
explicitly prefix TESTSBASE and TESTSDIR with its
value.
This fixed refreshing the man-refs.ent file from
a recent checkout of base/head/.
While here, bump the Copyright year.
Sponsored by: The FreeBSD Foundation
- In build_manpages(), specify -DNO_ROOT to suppress
false errors when the 'hier' target gets kicked.
While here, create a tgz package containing the
/usr/share/man and /usr/share/openssl to make it
easier to refresh the man.cgi backend.
- In add_manref(), work around a recurring issue where
the add-manref.sh script thinks 'atf-c++-api' is
a valid entity entry.
Also fix the section ID passed to add-manref.sh,
which by the looks of it, should have never worked
in the first place.
Use realpath(1) to when passing the target file,
manual page, and section to add-manref.sh so using
'.' to specify the current working directory for
either the path to src/ or doc/ are valid.
Sponsored by: The FreeBSD Foundation