summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorchristos <christos@pkgsrc.org>2005-05-14 19:16:16 +0000
committerchristos <christos@pkgsrc.org>2005-05-14 19:16:16 +0000
commite2c98c8feaaceaecc037f5afd8e55a97d1f3027a (patch)
treebba71f348293465ce7ae9389a6fd516809e10746 /bootstrap
parente69236654770543cf08586a986ffa1883a255508 (diff)
downloadpkgsrc-e2c98c8feaaceaecc037f5afd8e55a97d1f3027a.tar.gz
Different operating systems have different places where they store the
groff macro files. Since we don't have a pkgsrc groff tool dependency, we ignore the dependencies if the macro files are not there.
Diffstat (limited to 'bootstrap')
-rw-r--r--bootstrap/bmake/mk/bsd.man.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/bootstrap/bmake/mk/bsd.man.mk b/bootstrap/bmake/mk/bsd.man.mk
index 899e46ab7ff..9cad27a8162 100644
--- a/bootstrap/bmake/mk/bsd.man.mk
+++ b/bootstrap/bmake/mk/bsd.man.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.man.mk,v 1.1.1.1 2004/03/11 13:04:17 grant Exp $
+# $NetBSD: bsd.man.mk,v 1.2 2005/05/14 19:16:16 christos Exp $
# @(#)bsd.man.mk 8.1 (Berkeley) 6/8/93
.if !target(__initialized__)
@@ -20,8 +20,10 @@ cleandir: cleanman
TMACDIR?= ${DESTDIR}/usr/share/groff/tmac
HTMLDIR?= ${DESTDIR}/usr/share/man
+if exists(${TMACDIR}/tmac.andoc) && exists(${TMACDIR}/tmac.doc)
CATDEPS?= ${TMACDIR}/tmac.andoc \
${TMACDIR}/tmac.doc
+.endif
MANTARGET?= cat
NROFF?= nroff -Tascii
GROFF?= groff -Tascii