diff options
-rw-r--r-- | doc/user/depends.in | 5 | ||||
-rw-r--r-- | doc/user/depends.xml | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/doc/user/depends.in b/doc/user/depends.in index f0fa853..5066973 100644 --- a/doc/user/depends.in +++ b/doc/user/depends.in @@ -1458,8 +1458,9 @@ <scons_example name="ignore"> <file name="SConstruct" printme="1"> - hello = Program('hello.c') - Ignore(hello, 'hello.h') + hello_obj=Object('hello.c') + hello = Program(hello_obj) + Ignore(hello_obj, 'hello.h') </file> <file name="hello.c"> #include "hello.h" diff --git a/doc/user/depends.xml b/doc/user/depends.xml index 0e9740f..4676048 100644 --- a/doc/user/depends.xml +++ b/doc/user/depends.xml @@ -1424,8 +1424,9 @@ </para> <programlisting> - hello = Program('hello.c') - Ignore(hello, 'hello.h') + hello_obj=Object('hello.c') + hello = Program(hello_obj) + Ignore(hello_obj, 'hello.h') </programlisting> <!-- XXX mention that you can use lists for target and source? --> |