From 766f664aefb51ed543b57703a247c998d4b12528 Mon Sep 17 00:00:00 2001 From: jlam Date: Sun, 19 Mar 2006 23:40:07 +0000 Subject: Teach the tools framework about "texi2html". --- mk/tools/replace.mk | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'mk') 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= -- cgit v1.2.3