diff options
Diffstat (limited to 'doc/user/depends.sgml')
-rw-r--r-- | doc/user/depends.sgml | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/doc/user/depends.sgml b/doc/user/depends.sgml index f595e08..09fb62d 100644 --- a/doc/user/depends.sgml +++ b/doc/user/depends.sgml @@ -386,7 +386,7 @@ operating system on which the build is performed (as reported by C<uname </para> <programlisting> - #include "hello.h" + #include <hello.h> int main() { @@ -753,9 +753,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> @@ -777,9 +776,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? --> |