another minor fix
[sgc.git] / meta / compilersystem / run.sh
blob3c43d79f26fc9376310bcf65723b64a04af30ad1
1 rm -r targets
3 mkdir -p targets/win32/pinyin
4 mkdir -p targets/win32/PitchTiers
5 mkdir -p targets/win32/distfiles
6 mkdir -p targets/win32/records
7 mkdir -p targets/linux/pinyin
8 mkdir -p targets/linux/PitchTiers
9 mkdir -p targets/linux/distfiles
10 mkdir -p targets/linux/records
12 touch targets/win32/pinyin/.keep
13 touch targets/win32/PitchTiers/.keep
14 touch targets/win32/distfiles/.keep
15 touch targets/win32/records/.keep
16 touch targets/linux/pinyin/.keep
17 touch targets/linux/PitchTiers/.keep
18 touch targets/linux/distfiles/.keep
19 touch targets/linux/records/.keep
21 cd sources
23 cd sgc
24 git pull git://fondialog1.hum.uva.nl/sgc.git
25 cp -r SGC_ToneProt ../../targets/win32/.
26 cp -r SGC_ToneProt ../../targets/linux/.
27 cp -r wordlists ../../targets/win32/.
28 cp -r wordlists ../../targets/linux/.
29 cp -r locale ../../targets/win32/.
30 cp -r locale ../../targets/linux/.
31 cp -r doc ../../targets/win32/.
32 cp -r doc ../../targets/linux/.
34 cp sgc.png COPYING README.txt ../../targets/win32/.
35 cp sgc.png COPYING README.txt ../../targets/linux/.
37 cd ..
39 cd sgc-bin
40 git pull git://fondialog1.hum.uva.nl/sgc-bin.git
41 cp -r * ../../targets/win32/.
42 mv ../../targets/win32/*.sh ../../targets/linux/.
43 mv ../../targets/win32/SGC_ToneProt/praat ../../targets/linux/SGC_ToneProt/.
44 cd ..
46 cd sgc
48 make -f Makefile.mingw32 clean
49 make -f Makefile.mingw32
50 cp sgc.exe sgc.glade ../../targets/win32/.
51 make -f Makefile.mingw32 clean
53 cd singleword
54 make -f Makefile.mingw32 clean
55 make -f Makefile.mingw32
56 cp singleword.exe singleword.glade ../../../targets/win32/.
57 make -f Makefile.mingw32 clean
58 cd ..
60 make -f Makefile.linux clean
61 make -f Makefile.linux
62 cp sgc sgc.glade ../../targets/linux/.
63 make -f Makefile.linux clean
65 cd singleword
66 make -f Makefile.linux clean
67 make -f Makefile.linux
68 cp singleword singleword.glade ../../../targets/linux/.
69 make -f Makefile.linux clean
70 cd ..
72 cd ..
74 cd ..
76 cd targets/win32
77 wine ~/.wine/drive_c/Program\ Files/NSIS/makensis.exe installer.nsi
78 cd ..
79 cp /usr/lib/libpraat.so linux/.
80 cd ..