setlocal
set version=19.33
set dst=\emacs\%version%
xcopy ..\etc\DOC %dst%\data\
xcopy temacs %dst%\bin\
strip +strip-debug %dst%\bin\temacs
copy temacs %dst%\bin\temacs.dbg
copy emacs.exe %dst%\bin
copy emacs.ico %dst%\bin
copy pmemacs.exe %dst%\bin
copy dump.bat %dst%\bin
copy dump.cmd %dst%\bin
copy ..\emx\instemacs.cmd %dst%\bin
copy ..\emx\instauctex.cmd %dst%\bin
copy ..\lib-src\hexl.exe %dst%\bin
copy ..\lib-src\ctags.exe %dst%\bin
copy ..\lib-src\etags.exe %dst%\bin
copy ..\lib-src\profile.exe %dst%\bin
copy ..\lib-src\yow.exe %dst%\bin
copy ..\lib-src\os2\deliver.exe %dst%\bin
copy ..\lib-src\os2\emacsclient.exe %dst%\bin
copy ..\lib-src\os2\emacsserver.exe %dst%\bin
copy ..\lib-src\os2\movemail.exe %dst%\bin
copy ..\lib-src\os2\pmgetpw.exe %dst%\bin
copy ..\lib-src\os2\poppoll.exe %dst%\bin
copy ..\lib-src\os2\tcp.exe %dst%\bin
if not exist temacsx goto nox
xcopy ..\etc\DOC-X %dst%\data\
xcopy temacsx %dst%\bin\
strip +strip-debug %dst%\bin\temacsx
copy temacsx %dst%\bin\temacsx.dbg
copy emacsx.exe %dst%\bin
:nox
endlocal
