From a76ebc0f1b807c85bc0c7155f70e2464cf187655 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Thu, 9 Sep 2010 22:50:48 +0000 Subject: Use mandoc instead of groff to build PostScript manuals; note that these are not built by default, but only built when MANPS is set. kristaps@ and jmc@ agree with the idea, and the patch doesn't bother deraadt@ at all --- share/mk/bsd.man.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'share') diff --git a/share/mk/bsd.man.mk b/share/mk/bsd.man.mk index 87fece8c12f..24e7d2653af 100644 --- a/share/mk/bsd.man.mk +++ b/share/mk/bsd.man.mk @@ -1,4 +1,4 @@ -# $OpenBSD: bsd.man.mk,v 1.30 2010/04/03 19:34:00 schwarze Exp $ +# $OpenBSD: bsd.man.mk,v 1.31 2010/09/09 22:50:47 schwarze Exp $ # $NetBSD: bsd.man.mk,v 1.23 1996/02/10 07:49:33 jtc Exp $ # @(#)bsd.man.mk 5.2 (Berkeley) 5/11/90 @@ -33,8 +33,8 @@ MANLINT?= \# (rm -f ${.TARGET}; false) .9.ps9 .8.ps8 .7.ps7 .6.ps6 .5.ps5 .4.ps4 .3p.ps3p .3.ps3 .2.ps2 .1.ps1: - @echo "nroff -Tps -mandoc ${.IMPSRC} > ${.TARGET}" - @nroff -Tps -mandoc ${.IMPSRC} > ${.TARGET} || (rm -f ${.TARGET}; false) + @echo "${MANDOC} -Tps ${.IMPSRC} > ${.TARGET}" + @${MANDOC} -Tps ${.IMPSRC} > ${.TARGET} || (rm -f ${.TARGET}; false) .9tbl.ps9 .8tbl.ps8 .7tbl.ps7 .6tbl.ps6 .5tbl.ps5 .4tbl.ps4 .3tbl.ps3 \ .2tbl.ps2 .1tbl.ps1: -- cgit v1.2.3