summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2010-09-09 22:50:48 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2010-09-09 22:50:48 +0000
commita76ebc0f1b807c85bc0c7155f70e2464cf187655 (patch)
treebf74c2b82f551b50ef6d94c2ca98cab96ffd85ab
parent4d397eefb84cf4bf7ba68767ed8b622415feed47 (diff)
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
-rw-r--r--lib/libssl/man/Makefile6
-rw-r--r--share/mk/bsd.man.mk6
2 files changed, 6 insertions, 6 deletions
diff --git a/lib/libssl/man/Makefile b/lib/libssl/man/Makefile
index 7dc23fbe799..0f2831594e0 100644
--- a/lib/libssl/man/Makefile
+++ b/lib/libssl/man/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.16 2010/04/03 19:34:00 schwarze Exp $
+# $OpenBSD: Makefile,v 1.17 2010/09/09 22:50:47 schwarze Exp $
.include <bsd.own.mk> # for NOMAN
@@ -290,7 +290,7 @@ ${page}.cat3: ${src}.pod
. if MANPS
${page}.ps3: ${src}.pod
${POD2MAN} --section=3 --name=${page:U} ${.ALLSRC} | \
- nroff -Tps -mandoc > ${.TARGET}
+ ${MANDOC} -Tps > ${.TARGET}
. endif
.endfor
@@ -1092,7 +1092,7 @@ maninstall:
.pod.ps${sect}:
${POD2MAN} --section=${sect} --name=${*:U} ${.ALLSRC} | \
- nroff -Tps -mandoc > ${.TARGET}
+ ${MANDOC} -Tps > ${.TARGET}
.endfor
.include <bsd.obj.mk>
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: