Add running 'mandoc -Tlint' to the manlint target.
authorSascha Wildner <saw@online.de>
Sat, 18 Aug 2012 22:26:20 +0000 (00:26 +0200)
committerSascha Wildner <saw@online.de>
Sat, 18 Aug 2012 22:26:20 +0000 (00:26 +0200)
Also ignore the exit status here.

Suggested-by: nant
share/mk/bsd.man.mk

index 43f089a..535a486 100644 (file)
@@ -243,8 +243,10 @@ manlint: ${page}lint
 ${page}lint: ${page}
 .if defined(MANFILTER)
        @${MANFILTER} < ${.ALLSRC} | ${MROFF_CMD} -ww -z
+       @-${MANFILTER} < ${.ALLSRC} | mandoc -Tlint
 .else
        @${MROFF_CMD} -ww -z ${.ALLSRC}
+       @-mandoc -Tlint ${.ALLSRC}
 .endif
 .endfor
 .endif