Use mdoc on Illumos which uses mandoc, from Andy Fiddaman.

This commit is contained in:
Nicholas Marriott 2024-07-08 10:57:09 +01:00
parent c773fe89e7
commit 171004dfd0
1 changed files with 7 additions and 2 deletions

View File

@ -926,8 +926,13 @@ case "$host_os" in
MANFORMAT=mdoc MANFORMAT=mdoc
;; ;;
*) *)
# Solaris 2.0 to 11.3 use AT&T nroff. if test `uname -o 2>/dev/null` = illumos; then
MANFORMAT=man # Illumos uses mandoc.
MANFORMAT=mdoc
else
# Solaris 2.0 to 11.3 use AT&T nroff.
MANFORMAT=man
fi
;; ;;
esac esac
;; ;;