Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Switch to using mandoc for formatting man pages as new default.
details: https://anonhg.NetBSD.org/src/rev/d6ccf28c6e13
branches: trunk
changeset: 773582:d6ccf28c6e13
user: joerg <joerg%NetBSD.org@localhost>
date: Tue Feb 07 19:33:19 2012 +0000
description:
Switch to using mandoc for formatting man pages as new default.
Stop building catpages by default.
diffstat:
etc/man.conf | 15 ++++++++-------
share/mk/bsd.own.mk | 11 ++++++-----
2 files changed, 14 insertions(+), 12 deletions(-)
diffs (69 lines):
diff -r 304dfa3ec999 -r d6ccf28c6e13 etc/man.conf
--- a/etc/man.conf Tue Feb 07 19:17:16 2012 +0000
+++ b/etc/man.conf Tue Feb 07 19:33:19 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: man.conf,v 1.25 2010/07/09 15:08:09 christos Exp $
+# $NetBSD: man.conf,v 1.26 2012/02/07 19:33:19 joerg Exp $
# Sheer, raging paranoia...
_version BSD.2
@@ -18,12 +18,13 @@
_suffix .0
_build .0.Z /usr/bin/zcat %s
_build .0.gz /usr/bin/gunzip -c %s
-_build .[1-9ln] /usr/bin/nroff -msafer -man %s
-_build .[1-9ln].Z /usr/bin/zcat %s | /usr/bin/nroff -msafer -man
-_build .[1-9ln].gz /usr/bin/gunzip -c %s | /usr/bin/nroff -msafer -man
-_build .tbl /usr/bin/tbl %s | /usr/bin/nroff -msafer -man
-_build .tbl.Z /usr/bin/zcat %s | /usr/bin/tbl | /usr/bin/nroff -msafer -man
-_build .tbl.gz /usr/bin/gunzip -c %s | /usr/bin/tbl | /usr/bin/nroff -msafer -man
+_build .[1-9ln] /usr/bin/mandoc %s
+_build .[1-9ln].Z /usr/bin/zcat %s | /usr/bin/mandoc
+_build .[1-9ln].gz /usr/bin/gunzip -c %s | /usr/bin/mandoc
+_build .tbl /usr/bin/tbl %s | /usr/bin/mandoc
+_build .tbl.Z /usr/bin/zcat %s | /usr/bin/mandoc
+_build .tbl.gz /usr/bin/gunzip -c %s | /usr/bin/mandoc
+
_build .me /usr/bin/nroff -msafer -me %s 2>/dev/null | cat -s
_crunch .Z /usr/bin/compress -c > %s
diff -r 304dfa3ec999 -r d6ccf28c6e13 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk Tue Feb 07 19:17:16 2012 +0000
+++ b/share/mk/bsd.own.mk Tue Feb 07 19:33:19 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.own.mk,v 1.694 2012/02/07 19:13:31 joerg Exp $
+# $NetBSD: bsd.own.mk,v 1.695 2012/02/07 19:33:19 joerg Exp $
# This needs to be before bsd.init.mk
.if defined(BSD_MK_COMPAT_FILE)
@@ -805,7 +805,7 @@
_MKVARS.yes= \
MKATF \
MKBINUTILS \
- MKCATPAGES MKCRYPTO MKCOMPLEX MKCVS MKCXX \
+ MKCRYPTO MKCOMPLEX MKCVS MKCXX \
MKDOC \
MKGCC MKGCCCMDS MKGDB MKGROFF \
MKHESIOD MKHTML \
@@ -813,7 +813,7 @@
MKKERBEROS \
MKKMOD \
MKLDAP MKLINKLIB MKLINT MKLVM \
- MKMAN \
+ MKMAN MKMANDOC \
MKMDNS \
MKMAKEMANDB \
MKNLS \
@@ -840,9 +840,10 @@
# default for some platforms, see above.
#
_MKVARS.no= \
- MKBSDGREP MKBSDTAR MKCRYPTO_IDEA MKCRYPTO_MDC2 MKCRYPTO_RC5 MKDEBUG \
+ MKBSDGREP MKBSDTAR \
+ MKCATPAGES MKCRYPTO_IDEA MKCRYPTO_MDC2 MKCRYPTO_RC5 MKDEBUG \
MKDEBUGLIB MKDTRACE MKEXTSRC \
- MKMANDOC MKMANZ MKOBJDIRS \
+ MKMANZ MKOBJDIRS \
MKLLVM MKPCC \
MKPIGZGZIP \
MKREPRO \
Home |
Main Index |
Thread Index |
Old Index