diff options
author | William Deegan <bill@baddogconsulting.com> | 2019-07-14 13:51:54 -0400 |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2019-07-14 13:51:54 -0400 |
commit | 13fe5fdf1e6b9092e7b88242f5e4410523f40d56 (patch) | |
tree | c4d8a2d4bf1ec7f2bbe53ae665332bfa5f3623f8 | |
parent | 5a4d8a9e8b203f9eb135245382d772a6b6ef0559 (diff) | |
download | scons-git-13fe5fdf1e6b9092e7b88242f5e4410523f40d56.tar.gz |
More decider doc updates regarding adding new repo_node argument
-rw-r--r-- | doc/generated/examples/caching_ex-random_1.xml | 6 | ||||
-rw-r--r-- | doc/user/depends.xml | 9 |
2 files changed, 11 insertions, 4 deletions
diff --git a/doc/generated/examples/caching_ex-random_1.xml b/doc/generated/examples/caching_ex-random_1.xml index adf640148..9ad59e0e0 100644 --- a/doc/generated/examples/caching_ex-random_1.xml +++ b/doc/generated/examples/caching_ex-random_1.xml @@ -1,9 +1,9 @@ <?xml version="1.0" encoding="UTF-8"?> <screen xmlns="http://www.scons.org/dbxsd/v1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.scons.org/dbxsd/v1.0 http://www.scons.org/dbxsd/v1.0/scons.xsd">% <userinput>scons -Q</userinput> -cc -o f3.o -c f3.c -cc -o f2.o -c f2.c -cc -o f1.o -c f1.c cc -o f4.o -c f4.c +cc -o f2.o -c f2.c +cc -o f3.o -c f3.c cc -o f5.o -c f5.c +cc -o f1.o -c f1.c cc -o prog f1.o f2.o f3.o f4.o f5.o </screen> diff --git a/doc/user/depends.xml b/doc/user/depends.xml index c13828f78..794790094 100644 --- a/doc/user/depends.xml +++ b/doc/user/depends.xml @@ -561,6 +561,13 @@ int main() { printf("Hello, world!\n"); } </para> + <para> + The fourth argument <varname>repo_node</varname>, + is the &Node; to use if it is not None when comparing &BuildInfo;. + This is typically only set when the target node only exists in a + &Repository; + </para> + <variablelist> <varlistentry> @@ -637,7 +644,7 @@ int main() { printf("Hello, world!\n"); } <sconstruct> env = Environment() -def config_file_decider(dependency, target, prev_ni): +def config_file_decider(dependency, target, prev_ni, repo_node=None): import os.path # We always have to init the .csig value... |