| 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 |
'cd vcp' |
| 10 |
'mkdir dist' |
| 11 |
'cd dist' |
| 12 |
'copy ..\rexx.exe' |
| 13 |
'copy ..\regina*.a' |
| 14 |
'copy' SRC || '\COPYING-LIB' |
| 15 |
'copy' SRC || '\rexxsaa.h' |
| 16 |
'copy' SRC || '\README.3?' |
| 17 |
'copy' SRC || '\BUGS' |
| 18 |
'copy' SRC || '\README.VCP README' |
| 19 |
'copy' SRC || '\README_SAFE' |
| 20 |
'copy' SRC || '\file_id.diz.vcp file_id.diz' |
| 21 |
'mkdir demo' |
| 22 |
'copy' SRC || '\demo\*.rexx demo\*.rex' |
| 23 |
'mkdir nls' |
| 24 |
'copy ..\*.mtb nls' |
| 25 |
'del rex??vcp.zip' |
| 26 |
'zip -r rex'ver'vcp *' |
| 27 |
'cd ..\..' |