Commit graph

5 commits

Author SHA1 Message Date
Glen Barber
a9e4ca56eb In build_manpages(), evaluate the 'package' variable which,
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
2015-01-27 21:13:17 +00:00
Glen Barber
33309ad8b1 Work around suspected broken logic in the handling
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
2015-01-08 19:15:47 +00:00
Glen Barber
e451d6b123 Add a few tweaks to missing-manrefs.sh:
- 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
2014-10-17 18:06:05 +00:00
Glen Barber
63e253f62a Add the copyright header that disappeared during pre-commit
editing.

Spotted by:	hrs
Sponsored by:	The FreeBSD Foundation
2014-08-27 12:43:32 +00:00
Glen Barber
ae3a4ba21c Add the script I used to find manual pages missing
from head/share/xml/man-refs.ent.

Sponsored by:	The FreeBSD Foundation
2014-08-26 21:05:46 +00:00