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 | f44fa0975d10611186de5a61d8e061154e92bccc (patch) | |
tree | 40f86de321e05aa6a301b81f8b83039dcacb7d5f /doc/user/depends.in | |
parent | 5b26639256205eabd4e055040c7529b8ec868dcf (diff) | |
download | SCons-f44fa0975d10611186de5a61d8e061154e92bccc.zip SCons-f44fa0975d10611186de5a61d8e061154e92bccc.tar.gz SCons-f44fa0975d10611186de5a61d8e061154e92bccc.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? --> |