git: Switch to the new man(1) command.

Sascha Wildner swildner at crater.dragonflybsd.org
Mon Apr 22 09:05:11 PDT 2019


commit 105f26b55c3c3ffc9913e781deca4c5973a4940c
Author: Sascha Wildner <saw at online.de>
Date:   Mon Apr 22 17:24:19 2019 +0200

    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.

Summary of changes:
 Makefile.inc1                      |  2 +-
 Makefile_upgrade.inc               | 14 +++++++++++++-
 etc/Makefile                       | 12 ------------
 etc/mtree/BSD.usr.dist             | 20 --------------------
 gnu/usr.bin/Makefile               |  2 +-
 share/examples/etc/README.examples |  1 -
 share/man/Makefile                 |  6 +++---
 share/man/man5/Makefile            |  1 -
 share/mk/bsd.man.mk                | 28 +++++++++++++++-------------
 usr.bin/Makefile                   |  1 +
 usr.bin/mandoc/Makefile            |  7 +++++--
 usr.sbin/Makefile                  |  1 -
 12 files changed, 39 insertions(+), 56 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/105f26b55c3c3ffc9913e781deca4c5973a4940c


-- 
DragonFly BSD source repository



More information about the Commits mailing list