diff options
author | Steven Knight <knight@baldmt.com> | 2004-02-28 09:25:48 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2004-02-28 09:25:48 (GMT) |
commit | 5689823cd05968bac3fbe6d58854b6ab691ba01e (patch) | |
tree | 40f86de321e05aa6a301b81f8b83039dcacb7d5f /doc/user/depends.in | |
parent | 77a56aa3f89a2cfa5b7e0b722ea867bf8d7d9680 (diff) | |
download | SCons-5689823cd05968bac3fbe6d58854b6ab691ba01e.zip SCons-5689823cd05968bac3fbe6d58854b6ab691ba01e.tar.gz SCons-5689823cd05968bac3fbe6d58854b6ab691ba01e.tar.bz2 |
Branch for User's Guide work.
Diffstat (limited to 'doc/user/depends.in')
-rw-r--r-- | doc/user/depends.in | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/doc/user/depends.in b/doc/user/depends.in index bedc91d..43ec7f3 100644 --- a/doc/user/depends.in +++ b/doc/user/depends.in @@ -379,7 +379,7 @@ operating system on which the build is performed (as reported by C<uname Program('hello.c', CPPPATH = '.') </file> <file name="hello.c" printme="1"> - #include "hello.h" + #include <hello.h> int main() { @@ -741,9 +741,8 @@ operating system on which the build is performed (as reported by C<uname </para> <programlisting> - env = Environment() - hello = env.Program('hello.c') - env.Ignore(hello, '/usr/include/stdio.h') + hello = Program('hello.c') + Ignore(hello, '/usr/include/stdio.h') </programlisting> </section> @@ -765,9 +764,8 @@ operating system on which the build is performed (as reported by C<uname </para> <programlisting> - env = Environment() - hello = env.Program('hello.c') - env.Depends(hello, 'other_file') + hello = Program('hello.c') + Depends(hello, 'other_file') </programlisting> <!-- XXX mention that you can use arrays for target and source? --> |