Ticket #884: buildit

File buildit, 1.2 KB (added by jamesb192, 18 years ago)

the buildit script

Line 
1case $1 in
2 gcc2)
3 rm generated
4 ln -s gcc2 generated
5 ../../buildtools/trunk/jam/bin.linuxx86/jam haiku.image >j2o 2>j2e
6 cp generated/haiku.image ../../../haiku.image-gcc2-svn$2
7 cat head j2e tail >j2e.html
8 cat head j2o tail >j2o.html
9 break ;;
10 ppc)
11 rm generated
12 ln -s ppc generated
13 ../../buildtools/trunk/jam/bin.linuxx86/jam haiku.image >jpo 2>jpe
14 cp generated/haiku.image ../../../haiku.image-ppc-svn$2
15 cat head jpe tail >jpe.html
16 cat head jpo tail >jpo.html
17 break ;;
18 x86_32)
19 rm generated
20 ln -s x86_32 generated
21 ../../buildtools/trunk/jam/bin.linuxx86/jam haiku.image >jxo 2>jxe
22 cp generated/haiku.image ../../../haiku.image-x86-svn$2
23 cat head jxe tail >jxe.html
24 cat head jxo tail >jxo.html
25 break ;;
26 x86_64)
27 rm generated
28 ln -s x86_64 generated
29 ../../buildtools/trunk/jam/bin.linuxx86/jam haiku.image >j6o 2>j6e
30 cp generated/haiku.image ../../../haiku.image-x86-64-svn$2
31 cat head j6e tail >j6e.html
32 cat head j6o tail >j6o.html
33 break ;;
34 all)
35 buildit gcc2 $1 $2
36 buildit ppc $1 $2
37 buildit x86_32 $1 $2
38 break ;;
39esac
40