diff options
author | uqs <uqs@FreeBSD.org> | 2011-02-22 08:13:49 +0000 |
---|---|---|
committer | uqs <uqs@FreeBSD.org> | 2011-02-22 08:13:49 +0000 |
commit | 433f0177d0a0855e8bd7df40e3070caa53112863 (patch) | |
tree | bc4366064e389b18b74f217f17bd3ee50484e806 /share | |
parent | 39bd167d328aba193d4774d21ec95b107419b186 (diff) | |
download | FreeBSD-src-433f0177d0a0855e8bd7df40e3070caa53112863.zip FreeBSD-src-433f0177d0a0855e8bd7df40e3070caa53112863.tar.gz |
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)
Diffstat (limited to 'share')
-rw-r--r-- | share/doc/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
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 <bsd.own.mk> -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 |