@REM Zip up boost headers used ...
@setlocal
@if "%TEMPVERS%x" == "x" goto ERR0
@set TEMPb1=boost
@if NOT EXIST %TEMPb1%\. goto ERR1
@set TEMPb2=%TEMPb1%-%TEMPVERS%.zip
call zip8 -a -o -P -r %TEMPb2% %TEMPb1%\*.*
@if NOT EXIST %TEMPb2% goto ERR2
dir %TEMPb2%
@goto END

:Err0
@echo ERROR: TEMPVERS NOT SET IN ENVIRONMENT ... must be run from zipall.bat ..
@goto PEND

:Err1
@echo ERROR: Unable to locate %TEMPb1% FOLDER ... check name, location ..
@goto PEND

:Err2
@echo ERROR: Unable to create %TEMPb2% ... maybe no zip8.bat in path ... maybe some other fault ..
@goto PEND

:PEND
@pause
:END
@endlocal
