mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-18 22:15:46 +01:00
Use mandoc -Tlint instead of groff for manlint target
This commit is contained in:
parent
110cd60a28
commit
2f335df9c2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=276535
@ -55,6 +55,7 @@ MINSTALL?= ${INSTALL} -o ${MANOWN} -g ${MANGRP} -m ${MANMODE}
|
||||
CATDIR= ${MANDIR:H:S/$/\/cat/}
|
||||
CATEXT= .cat
|
||||
MROFF_CMD?= groff -Tascii -mtty-char -man -t
|
||||
MANDOC_CMD?= mandoc
|
||||
|
||||
MCOMPRESS_CMD?= ${COMPRESS_CMD}
|
||||
MCOMPRESS_EXT?= ${COMPRESS_EXT}
|
||||
@ -239,9 +240,9 @@ manlint:
|
||||
manlint: ${__page}lint
|
||||
${__page}lint: ${__page}
|
||||
.if defined(MANFILTER)
|
||||
${MANFILTER} < ${.ALLSRC} | ${MROFF_CMD} -ww -z
|
||||
${MANFILTER} < ${.ALLSRC} | ${MANDOC_CMD} -Tlint
|
||||
.else
|
||||
${MROFF_CMD} -ww -z ${.ALLSRC}
|
||||
${MANDOC_CMD} -Tlint ${.ALLSRC}
|
||||
.endif
|
||||
.endfor
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user