/**/ Parse arg ver . If ver = '' Then Do Say 'Must supply version: eg 382' Exit End SRC = Translate(Value('REGINA_SRCDIR',,'OS2ENVIRONMENT'),'\','/') here = Directory() If Translate( here ) \= Translate( src ) Then Do Say 'Must be run from' src 'directory!' Exit 1 End 'cd gcc' 'mkdir dist' 'cd dist' 'del /Y *.*' 'copy ..\regina.exe' 'copy ..\pmregina.exe' 'copy ..\rexx.exe' 'copy ..\rxstack.exe' 'copy ..\rxqueue.exe' 'copy ..\execiser.exe' 'copy ..\threader.exe' 'copy ..\regina.dll' 'copy ..\rexx.a' 'copy ..\rexx.lib' 'copy ..\regina.a' 'copy ..\regina.lib' 'copy ..\rxtest1.dll' 'copy ..\rxtest2.dll' 'copy ..\regutil.dll' 'copy' SRC || '\COPYING-LIB' 'copy' SRC || '\rexxsaa.h' 'copy' SRC || '\README.3?' 'copy' SRC || '\README.3??' 'copy' SRC || '\BUGS' 'copy' SRC || '\README.OS2 README' 'copy' SRC || '\README_SAFE' 'mkdir demo' 'copy' SRC || '\demo\*.rexx demo' 'copy ..\rexx.dll demo' 'copy ..\rexxapi.dll demo' 'mkdir nls' 'copy ..\*.mtb nls' 'mkdir doc' 'copy ..\..\doc\*.pdf doc' 'zip -r Regina' || ver || 'os2.zip *' 'cd ..\..'