diff options
author | Steven Knight <knight@baldmt.com> | 2010-06-27 18:33:04 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2010-06-27 18:33:04 (GMT) |
commit | 9be7b07c0c453792c750e0842e81eb8cb9dbffc2 (patch) | |
tree | 7f8079aad795f2c98fd93e69bcbedcc47df8ba61 /doc/user/tasks.in | |
parent | f90d10625d4d91e698160c77677ba07d6995e8e2 (diff) | |
download | SCons-9be7b07c0c453792c750e0842e81eb8cb9dbffc2.zip SCons-9be7b07c0c453792c750e0842e81eb8cb9dbffc2.tar.gz SCons-9be7b07c0c453792c750e0842e81eb8cb9dbffc2.tar.bz2 |
Issue 5062: XML fixes in the User's Guide. (Dirk Baechle)
Diffstat (limited to 'doc/user/tasks.in')
-rw-r--r-- | doc/user/tasks.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/user/tasks.in b/doc/user/tasks.in index de42cd1..79787a6 100644 --- a/doc/user/tasks.in +++ b/doc/user/tasks.in @@ -99,14 +99,14 @@ env.Append(CPPPATH = "#") ## Header example env.Append(BUILDERS = - {'Copy1' : Builder(action = 'cat < $SOURCE > $TARGET', + {'Copy1' : Builder(action = 'cat < $SOURCE > $TARGET', suffix='.h', src_suffix='.bar')}) env.Copy1('test.bar') # produces test.h from test.bar. env.Program('app','main.cpp') # indirectly depends on test.bar ## Source file example env.Append(BUILDERS = - {'Copy2' : Builder(action = 'cat < $SOURCE > $TARGET', + {'Copy2' : Builder(action = 'cat < $SOURCE > $TARGET', suffix='.cpp', src_suffix='.bar2')}) foo = env.Copy2('foo.bar2') # produces foo.cpp from foo.bar2. env.Program('app2',['main2.cpp'] + foo) # compiles main2.cpp and foo.cpp into app2. |