From: stevenknight Date: Mon, 10 Mar 2003 18:23:08 +0000 (+0000) Subject: Fix broken examples of quoted lists of source files. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bac7e95f575bfa1db500a0b0923ea3b85a2d71dc;p=scons.git Fix broken examples of quoted lists of source files. git-svn-id: http://scons.tigris.org/svn/scons/trunk@609 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- diff --git a/doc/man/scons.1 b/doc/man/scons.1 index 51e3013a..7fc4f8e4 100644 --- a/doc/man/scons.1 +++ b/doc/man/scons.1 @@ -4303,22 +4303,24 @@ env.Program(target = 'foo', source = 'foo.c') .ES env = Environment() -env.StaticLibrary(target = 'foo', source = 'l1.c l2.c') +env.StaticLibrary(target = 'foo', source = Split('l1.c l2.c')) +env.StaticLibrary(target = 'bar', source = ['l3.c', 'l4.c']) .EE .SS Building a Shared Library .ES env = Environment() -env.SharedLibrary(target = 'foo', source = 'l3.c l4.c') +env.SharedLibrary(target = 'foo', source = ['l5.c', 'l6.c']) +env.SharedLibrary(target = 'bar', source = Split('l7.c l8.c')) .EE .SS Linking a Local Library Into a Program .ES env = Environment(LIBS = 'mylib', LIBPATH = ['.']) -env.Library(target = 'mylib', source = 'l1.c l2.c') -env.Program(target = 'prog', source = 'p1.c p2.c') +env.Library(target = 'mylib', source = Split('l1.c l2.c')) +env.Program(target = 'prog', source = ['p1.c', 'p2.c']) .EE .SS Defining Your Own Builder Object