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) --- etc/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'etc/Makefile') 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 -- cgit v1.1