Use TOOL_MANDOC_ASCII instead of TOOL_GROFF to format BUILDING.mdoc,

and use TOOL_SED to flatten backspace sequences.
This commit is contained in:
apb 2013-05-29 21:26:44 +00:00
parent a9160f6005
commit 679f0b86c9

View File

@ -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