| 1 | @echo off |
| 2 | rem Zip up an external distribution of wxXML |
| 3 | set src=%WXWIN% |
| 4 | set dest=%WXWIN%\deliver |
| 5 | |
| 6 | if "%src" == "" goto usage |
| 7 | if "%dest" == "" goto usage |
| 8 | echo About to archive an external wxXML distribution: |
| 9 | echo From %src |
| 10 | echo To %dest\xml.zip |
| 11 | echo CTRL-C if this is not correct. |
| 12 | inkey /W4 `Press any key to continue...` %%input |
| 13 | |
| 14 | erase %dest\xml.zip |
| 15 | cd %src |
| 16 | zip32 -@ %dest\xml.zip < %src\distrib\msw\xml.rsp |
| 17 | |
| 18 | cd %dest |
| 19 | |
| 20 | echo wxXML archived. |
| 21 | goto end |
| 22 | |
| 23 | :usage |
| 24 | echo DOS wxXML distribution. |
| 25 | echo Usage: zipxml source destination |
| 26 | echo e.g. zipxml d:\wx2\wxWindows d:\wx2\wxWindows\deliver |
| 27 | |
| 28 | :end |
| 29 | |
| 30 | |