summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMats Wichmann <mats@linux.com>2020-08-18 17:00:10 (GMT)
committerMats Wichmann <mats@linux.com>2020-08-18 17:00:10 (GMT)
commita566609d60b893e018926b178992030b783d697d (patch)
treeb23ada883daef5461bc6ed628439726a6f6124ba /doc
parent1f726753e6776b6b9e0af8284f465dbeabaa2d53 (diff)
downloadSCons-a566609d60b893e018926b178992030b783d697d.zip
SCons-a566609d60b893e018926b178992030b783d697d.tar.gz
SCons-a566609d60b893e018926b178992030b783d697d.tar.bz2
Further tweak to tool location doc (toolpath vs. site_tools vs builtin) [ci skip]
Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/man/scons.xml11
1 files changed, 7 insertions, 4 deletions
diff --git a/doc/man/scons.xml b/doc/man/scons.xml
index 407118b..fc28e2a 100644
--- a/doc/man/scons.xml
+++ b/doc/man/scons.xml
@@ -2388,12 +2388,15 @@ as well as using the ordinary default tools for the platform.
</para>
<para>
-Tools in a specified toolpath are used in preference to any other location;
-tools in a <filename>site_tools</filename> directory are also
-take precedence over built-in ones. For example, adding
+Directories specified via <parameter>toolpath</parameter> are prepended
+to the existing tool path. The default tool path is any <filename>site_tools</filename>
+directories, so tools in a specified <parameter>toolpath</parameter>
+take priority,
+followed by tools in a <filename>site_tools</filename> directory,
+followed by built-in tools. For example, adding
a tool specification module <filename>gcc.py</filename> to the toolpath
directory would override the built-in &t-link-gcc; tool.
-The toolpath is
+The tool path is
stored in the environment and will be
used by subsequent calls to the &f-link-Tool; method,
as well as by &f-link-env-Clone;.