some macOS doc updates

Allow 'make USE_MANDOC=1 distrib' to be used for generating
the doc/*.txt files for systems that have mandoc and may not have groff.
(macOS Ventura doesn't include groff in the OS).
USE_MANDOC=1 is not restricted only to macOS.

Have hints/macOS.370 specify the /usr/share/man/man6 directory for the macOS
man pages, so that 'make manpages' will target the correct directory on
that platform.
This commit is contained in:
nhmall
2023-11-28 23:44:23 -05:00
parent 571de1528d
commit cbeb8a51a3
3 changed files with 11 additions and 1 deletions

View File

@@ -88,6 +88,9 @@ endif # WANT_WIN_QT
#-INCLUDE misc.370
# manpages directory
MANDIR=/usr/share/man/man6
ifeq "$(USE_ASAN)" "1"
CFLAGS +=-fsanitize=address
LFLAGS +=-fsanitize=address