diff options
author | Gary Oberbrunner <garyo@oberbrunner.com> | 2010-01-11 02:53:30 (GMT) |
---|---|---|
committer | Gary Oberbrunner <garyo@oberbrunner.com> | 2010-01-11 02:53:30 (GMT) |
commit | 9bf4481e85bffa74d7b84ecd1a3e76b0df5a057b (patch) | |
tree | 68cc2ebfde750c92b2cd5756536f405276d897ae /doc/user | |
parent | deec3d46aa9e8ddac595b7c04cbf8e4f6968b68b (diff) | |
download | SCons-9bf4481e85bffa74d7b84ecd1a3e76b0df5a057b.zip SCons-9bf4481e85bffa74d7b84ecd1a3e76b0df5a057b.tar.gz SCons-9bf4481e85bffa74d7b84ecd1a3e76b0df5a057b.tar.bz2 |
Fix doc bug #2502 (Ignore example was wrong)
Diffstat (limited to 'doc/user')
-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? --> |