summaryrefslogtreecommitdiffstats
path: root/doc/user/depends.sgml
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2004-02-28 09:25:48 (GMT)
committerSteven Knight <knight@baldmt.com>2004-02-28 09:25:48 (GMT)
commitf44fa0975d10611186de5a61d8e061154e92bccc (patch)
tree40f86de321e05aa6a301b81f8b83039dcacb7d5f /doc/user/depends.sgml
parent5b26639256205eabd4e055040c7529b8ec868dcf (diff)
downloadSCons-f44fa0975d10611186de5a61d8e061154e92bccc.zip
SCons-f44fa0975d10611186de5a61d8e061154e92bccc.tar.gz
SCons-f44fa0975d10611186de5a61d8e061154e92bccc.tar.bz2
Branch for User's Guide work.
Diffstat (limited to 'doc/user/depends.sgml')
-rw-r--r--doc/user/depends.sgml12
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 &lt;hello.h&gt;
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? -->