| 1 | empty = | 
| 2 | sq = '' | 
| 3 | spaces = foo bar | 
| 4 | |
| 5 | rule argv | 
| 6 | command = spec/bin/argv.py $out $empty $in $sq $spaces | 
| 7 | |
| 8 | # The whole thing is a big shell string | 
| 9 | # So this uses shell quoting rules | 
| 10 | # | 
| 11 | # It's a bit like | 
| 12 | # mystr="spec/bin/argv.py $out $in $sq $spaces" | 
| 13 | # $mystr | 
| 14 | |
| 15 | # we get ['_tmp/out1', '_tmp/out2', '_tmp/in1', _tmp/in2, '', 'foo', 'bar'] | 
| 16 | |
| 17 | build _tmp/out1 _tmp/out2: argv _tmp/in1 _tmp/in2 |