Ticket #431: Jamfile

File Jamfile, 480 bytes (added by René Rivera, 15 years ago)

Original testcase from SF tracker.

Line 
1# Creates "generated" files users will depend on.
2actions Gen {
3 echo '>' Start generating $(<)
4 sleep 1
5 echo '>' Done generating $(<)
6}
7
8# Will use files generated by a 'Gen' actions.
9rule Use {
10 DEPENDS $(<) : $(>) ;
11}
12
13actions Use {
14 echo "> $(<) is using generated file" $(>)
15 sleep 1
16 echo "> $(<) is done."
17}
18
19Gen g1.generated g2.generated ;
20
21Use u1.user : g1.generated ;
22Use u2.user : g2.generated ;
23
24DEPENDS all : u1.user u2.user ;
25#DEPENDS g2.generated : g1.generated ;