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