From ff140039f20ccd498b5408ed3e71628614903ae0 Mon Sep 17 00:00:00 2001 From: schmonz Date: Sun, 1 Aug 2004 16:56:18 +0000 Subject: Define TMACDIR and CATDEPS appropriately (on Panther, at least) to allow packages using to generate catted man pages. Problem noticed with mail/mailwrapper, for which this fixes the build. --- bootstrap/mods/mk/Darwin.bsd.man.mk | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'bootstrap') diff --git a/bootstrap/mods/mk/Darwin.bsd.man.mk b/bootstrap/mods/mk/Darwin.bsd.man.mk index b284ecda951..016a801905d 100644 --- a/bootstrap/mods/mk/Darwin.bsd.man.mk +++ b/bootstrap/mods/mk/Darwin.bsd.man.mk @@ -1,4 +1,4 @@ -# $NetBSD: Darwin.bsd.man.mk,v 1.1.1.1 2004/03/11 13:03:59 grant Exp $ +# $NetBSD: Darwin.bsd.man.mk,v 1.2 2004/08/01 16:56:18 schmonz Exp $ # @(#)bsd.man.mk 8.1 (Berkeley) 6/8/93 .if !target(__initialized__) @@ -18,10 +18,14 @@ realinstall: ${MANINSTALL} .endif cleandir: cleanman +.if exists(${DESTDIR}/usr/share/groff/1.18.1/tmac) +TMACDIR?= ${DESTDIR}/usr/share/groff/1.18.1/tmac +.else TMACDIR?= ${DESTDIR}/usr/share/groff/tmac +.endif HTMLDIR?= ${DESTDIR}/usr/share/man -CATDEPS?= ${TMACDIR}/tmac.andoc \ - ${TMACDIR}/tmac.doc +CATDEPS?= ${TMACDIR}/mandoc.tmac \ + ${TMACDIR}/doc.tmac MANTARGET?= cat NROFF?= nroff -Tascii GROFF?= groff -Tascii -- cgit v1.2.3