make sure "S" is generated.
[AROS-Contrib.git] / regina / makegcc.cmd
blob7f40502d992f3cc8ef3a67a232d23842a2a10725
1 /**/
2 Parse arg ver .
3 If ver = '' Then
4 Do
5 Say 'Must supply version: eg 20'
6 Exit
7 End
8 SRC = Translate(Value('REGINA_SRCDIR',,'OS2ENVIRONMENT'),'\','/')
9 here = Directory()
10 If Translate( here ) \= Translate( src ) Then
12 Say 'Must be run from' src 'directory!'
13 Exit 1
14 End
15 'cd gcc'
16 'mkdir dist'
17 'cd dist'
18 'del /Y *.*'
19 'copy ..\regina.exe'
20 'copy ..\rexx.exe'
21 'copy ..\rxstack.exe'
22 'copy ..\rxqueue.exe'
23 'copy ..\execiser.exe'
24 'copy ..\threader.exe'
25 'copy ..\regina.dll'
26 'copy ..\rexx.a'
27 'copy ..\rexx.lib'
28 'copy ..\regina.a'
29 'copy ..\regina.lib'
30 'copy ..\test1.dll'
31 'copy ..\regutil.dll'
32 'copy ..\test2.dll'
33 'copy' SRC || '\COPYING-LIB'
34 'copy' SRC || '\rexxsaa.h'
35 'copy' SRC || '\README.3?'
36 'copy' SRC || '\BUGS'
37 'copy' SRC || '\README.OS2 README'
38 'copy' SRC || '\README_SAFE'
39 'copy' SRC || '\file_id.diz.os2 file_id.diz'
40 'mkdir demo'
41 'copy' SRC || '\demo\*.rexx demo'
42 'copy ..\rexx.dll demo'
43 'copy ..\rexxapi.dll demo'
44 'mkdir nls'
45 'copy ..\*.mtb nls'
46 'zip -r regina' || ver || 'os2 *'
47 'cd ..\..'