summaryrefslogtreecommitdiff
path: root/mk/tools/texinfo.mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2006-03-06 05:25:45 +0000
committerjlam <jlam@pkgsrc.org>2006-03-06 05:25:45 +0000
commit2d8270de7ffa690ec4914e76712cc59d9be442fa (patch)
treec2249734c4244b51eecad3bbf8ed8842415a0366 /mk/tools/texinfo.mk
parent35af66a19685ab0ea5877b2735427472a14fc78b (diff)
downloadpkgsrc-2d8270de7ffa690ec4914e76712cc59d9be442fa.tar.gz
Teach the tools framework how to supply a pkgsrc version of install-info
if a native one isn't available. We ensure that the "install-info" tool in the tools directory is a no-op since the real info file registration is handled by the INSTALL/DEINSTALL script in pkgsrc/mk/pkginstall/install-info.
Diffstat (limited to 'mk/tools/texinfo.mk')
-rw-r--r--mk/tools/texinfo.mk12
1 files changed, 3 insertions, 9 deletions
diff --git a/mk/tools/texinfo.mk b/mk/tools/texinfo.mk
index 5f608e49a0a..0544b665e03 100644
--- a/mk/tools/texinfo.mk
+++ b/mk/tools/texinfo.mk
@@ -1,4 +1,4 @@
-# $NetBSD: texinfo.mk,v 1.9 2006/03/05 16:27:29 jlam Exp $
+# $NetBSD: texinfo.mk,v 1.10 2006/03/06 05:25:45 jlam Exp $
#
# Copyright (c) 2005 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -35,14 +35,6 @@
# POSSIBILITY OF SUCH DAMAGE.
#
-#
-# Create an install-info script that is a "no operation" command, as
-# registration of info files is handled by the INSTALL script.
-#
-TOOLS_NOOP+= install-info
-CONFIGURE_ENV+= INSTALL_INFO=${TOOLS_CMD.install-info:Q}
-MAKE_ENV+= INSTALL_INFO=${TOOLS_CMD.install-info:Q}
-
TEXINFO_REQD?= 3.12
# If the package doesn't explicitly request makeinfo as a tool, then
@@ -76,5 +68,7 @@ _TOOLS_USE_PKGSRC.makeinfo!= \
MAKEVARS+= _TOOLS_USE_PKGSRC.makeinfo
.endif
+CONFIGURE_ENV+= INSTALL_INFO=${TOOLS_CMD.install-info:Q}
+MAKE_ENV+= INSTALL_INFO=${TOOLS_CMD.install-info:Q}
CONFIGURE_ENV+= MAKEINFO=${TOOLS_CMD.makeinfo:Q}
MAKE_ENV+= MAKEINFO=${TOOLS_CMD.makeinfo:Q}