Switch to the new man(1) command.
authorSascha Wildner <saw@online.de>
Mon, 22 Apr 2019 15:24:19 +0000 (17:24 +0200)
committerSascha Wildner <saw@online.de>
Mon, 22 Apr 2019 15:24:19 +0000 (17:24 +0200)
commit105f26b55c3c3ffc9913e781deca4c5973a4940c
treed3688f3dd231ca1ab96e97ebb7d75c0a9a81a6c1
parent8fa7ae99ab435ecc8e9008092410eebabef3124c
Switch to the new man(1) command.

* Exchange our old GNU man(1) command with the one from FreeBSD that I
  recently imported. It uses mandoc(1) by default. If mandoc(1) reports
  that it cannot render a page, man(1) will fall back to groff (right
  now our base groff, later the groff pkg when we remove it).

* Install mandoc(1) as apropos(1) and makewhatis(8). This means
  makewhatis moves from /usr/sbin to /usr/bin.

* Use mandoc(1) instead of groff for most purposes of bsd.man.mk.

* Remove /usr/share/man/cat*. It's not necessary anymore to cache
  formatted manual pages.
12 files changed:
Makefile.inc1
Makefile_upgrade.inc
etc/Makefile
etc/mtree/BSD.usr.dist
gnu/usr.bin/Makefile
share/examples/etc/README.examples
share/man/Makefile
share/man/man5/Makefile
share/mk/bsd.man.mk
usr.bin/Makefile
usr.bin/mandoc/Makefile
usr.sbin/Makefile