summaryrefslogtreecommitdiffstats
path: root/etc/Makefile
diff options
context:
space:
mode:
authoruqs <uqs@FreeBSD.org>2011-02-22 08:13:49 +0000
committeruqs <uqs@FreeBSD.org>2011-02-22 08:13:49 +0000
commit433f0177d0a0855e8bd7df40e3070caa53112863 (patch)
treebc4366064e389b18b74f217f17bd3ee50484e806 /etc/Makefile
parent39bd167d328aba193d4774d21ec95b107419b186 (diff)
downloadFreeBSD-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 'etc/Makefile')
-rw-r--r--etc/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/Makefile b/etc/Makefile
index 83bc50a..e7fa2d5 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -271,6 +271,9 @@ distrib-dirs:
mtree -deU ${MTREE_FOLLOWS_SYMLINKS} -f ${.CURDIR}/mtree/BIND.chroot.dist \
-p ${DESTDIR}/var/named
.endif
+.if ${MK_GROFF} != "no"
+ mtree -deU ${MTREE_FOLLOWS_SYMLINKS} -f ${.CURDIR}/mtree/BSD.groff.dist -p ${DESTDIR}/usr
+.endif
.if ${MK_SENDMAIL} != "no"
mtree -deU ${MTREE_FOLLOWS_SYMLINKS} -f ${.CURDIR}/mtree/BSD.sendmail.dist -p ${DESTDIR}/
.endif
OpenPOWER on IntegriCloud