bringing SDL 1.2.14 from vendor into the main branch
[AROS-Contrib.git] / regina / makeos2.cmd
blob5aa313581a62cd8091b71762ead6cd04fcf354a5
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 os2'
16 'mkdir dist'
17 'cd dist'
18 'del /Y *.*'
19 'copy ..\regina.exe'
20 'copy ..\rexx.exe'
21 'copy ..\tregina.exe'
22 'copy ..\trexx.exe'
23 'copy ..\rxstack.exe'
24 'copy ..\rxqueue.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 ..\test2.dll'
32 'copy' SRC || '\COPYING-LIB'
33 'copy' SRC || '\rexxsaa.h'
34 'copy' SRC || '\README.3?'
35 'copy' SRC || '\BUGS'
36 'copy' SRC || '\README.OS2 README'
37 'copy' SRC || '\README_SAFE'
38 'copy' SRC || '\file_id.diz.os2 file_id.diz'
39 'mkdir demo'
40 'copy' SRC || '\demo\*.rexx demo'
41 'mkdir nls'
42 'copy ..\*.mtb nls'
43 'zip -r rex' || ver || 'os2 *'
44 'cd ..\..'