Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/doc Use TOOL_MANDOC_ASCII instead of TOOL_GROFF to format BU...



details:   https://anonhg.NetBSD.org/src/rev/e685f9e42b6e
branches:  trunk
changeset: 787021:e685f9e42b6e
user:      apb <apb%NetBSD.org@localhost>
date:      Wed May 29 21:26:44 2013 +0000

description:
Use TOOL_MANDOC_ASCII instead of TOOL_GROFF to format BUILDING.mdoc,
and use TOOL_SED to flatten backspace sequences.

diffstat:

 doc/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (15 lines):

diff -r 87cef0640f45 -r e685f9e42b6e doc/Makefile
--- a/doc/Makefile      Wed May 29 20:47:14 2013 +0000
+++ b/doc/Makefile      Wed May 29 21:26:44 2013 +0000
@@ -1,8 +1,9 @@
-#      $NetBSD: Makefile,v 1.1 2011/09/09 14:23:38 apb Exp $
+#      $NetBSD: Makefile,v 1.2 2013/05/29 21:26:44 apb Exp $
 
 .include <bsd.own.mk>
 
 regen: .PHONY regen-BUILDING
 regen-BUILDING: .PHONY
-       ${TOOL_GROFF} -mdoc -Tascii -P-bou ${.CURDIR}/BUILDING.mdoc \
+       ${TOOL_MANDOC_ASCII} ${.CURDIR}/BUILDING.mdoc \
+               | ${TOOL_SED} -e "s,.$$(printf '\b'),,g" \
                >${.CURDIR}/../BUILDING



Home | Main Index | Thread Index | Old Index