summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk')
-rw-r--r--mk/tools/replace.mk13
1 files changed, 12 insertions, 1 deletions
diff --git a/mk/tools/replace.mk b/mk/tools/replace.mk
index 8667be1cc48..e1b59ab1da7 100644
--- a/mk/tools/replace.mk
+++ b/mk/tools/replace.mk
@@ -1,4 +1,4 @@
-# $NetBSD: replace.mk,v 1.162 2006/03/16 22:31:59 jlam Exp $
+# $NetBSD: replace.mk,v 1.163 2006/03/19 23:40:07 jlam Exp $
#
# Copyright (c) 2005 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -662,6 +662,17 @@ TOOLS_PATH.tclsh= ${TOOLS_PREFIX.tclsh}/bin/tclsh
. endif
.endif
+.if !defined(TOOLS_IGNORE.texi2html) && !empty(_USE_TOOLS:Mtexi2html)
+. if !empty(PKGPATH:Mtextproc/texi2html)
+MAKEFLAGS+= TOOLS_IGNORE.texi2html=
+. elif !empty(_TOOLS_USE_PKGSRC.texi2html:M[yY][eE][sS])
+TOOLS_DEPENDS.texi2html?= texi2html>=1.76:../../textproc/texi2html
+TOOLS_CREATE+= texi2html
+TOOLS_FIND_PREFIX+= TOOLS_PREFIX.texi2html=texi2html
+TOOLS_PATH.texi2html= ${TOOLS_PREFIX.texi2html}/bin/texi2html
+. endif
+.endif
+
.if !defined(TOOLS_IGNORE.ttmkfdir) && !empty(_USE_TOOLS:Mttmkfdir)
. if !empty(PKGPATH:Mfonts/ttmkfdir2)
MAKEFLAGS+= TOOLS_IGNORE.ttmkfdir=