5 rule generate-example ( project name : property-set : sources * )
8 for local s in $(sources)
10 #local source-name = [ $(s).name ] ;
11 #local source-action = [ $(s).action ] ;
12 #local source-properties = [ $(source-action).properties ] ;
14 # Create a new action, that takes the source target and runs the
15 # 'common.copy' command on it.
16 local a = [ new non-scanning-action $(s) : common.copy : $(property-set)
19 # Create a target to represent the action result. Uses the target name
20 # passed here via the 'name' parameter and the same type and project as
22 result += [ new file-target $(name) : [ $(s).type ] : $(project) : $(a)