From 433f0177d0a0855e8bd7df40e3070caa53112863 Mon Sep 17 00:00:00 2001 From: uqs Date: Tue, 22 Feb 2011 08:13:49 +0000 Subject: Flesh out WITHOUT_GROFF support to DTRT. A full featured groff is required during buildworld, so build it always and don't rely on it being present on the host system. vgrind(1) is tightly coupled to a roff processor and will not be built/installed when groff is disabled. Also much of the roff'ed documentation under share/doc will not be built/installed when WITHOUT_GROFF is defined. Reviewed by: ru (partial) --- share/doc/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'share/doc') diff --git a/share/doc/Makefile b/share/doc/Makefile index 61b26d7..b901b93 100644 --- a/share/doc/Makefile +++ b/share/doc/Makefile @@ -3,12 +3,17 @@ .include -SUBDIR= ${_bind9} IPv6 legal papers psd smm usd +SUBDIR= ${_bind9} IPv6 legal ${_roffdocs} .if ${MK_BIND} != "no" _bind9= bind9 .endif +# FIXME this is not a real solution ... +.if ${MK_GROFF} != "no" +_roffdocs= papers psd smm usd +.endif + # Default output format for troff documents is ascii. # To generate postscript versions of troff documents, use: # make PRINTERDEVICE=ps -- cgit v1.1