aboutsummaryrefslogtreecommitdiff
path: root/share/doc/Makefile
diff options
context:
space:
mode:
authorUlrich Spörlein <uqs@FreeBSD.org>2011-02-22 08:13:49 +0000
committerUlrich Spörlein <uqs@FreeBSD.org>2011-02-22 08:13:49 +0000
commit423102c6faf6de84c95d2bba2a049b6f8a339e3e (patch)
treebc4366064e389b18b74f217f17bd3ee50484e806 /share/doc/Makefile
parent3dfe8ce9422826e45f16c9a5879bd53477d74597 (diff)
downloadsrc-423102c6faf6de84c95d2bba2a049b6f8a339e3e.tar.gz
src-423102c6faf6de84c95d2bba2a049b6f8a339e3e.zip
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)
Notes
Notes: svn path=/head/; revision=218941
Diffstat (limited to 'share/doc/Makefile')
-rw-r--r--share/doc/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/share/doc/Makefile b/share/doc/Makefile
index 61b26d70dc97..b901b93aad53 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