-del %DAILY%\*.zip
-zip %DAILY%\wxWidgets-Docs-CHM.zip docs\htmlhelp\wx.chm utils/tex2rtf/docs/*.chm docs/htmlhelp/*.chm
-zip %DAILY%\wxWidgets-Docs-HLP.zip docs\winhelp\wx.hlp docs\winhelp\wx.cnt utils/tex2rtf/docs/*.HLP utils/tex2rtf/docs/*.cnt docs/winhelp/*.hlp docs/winhelp/*.cnt
-Rem zip %DAILY%\wx-docs-extra-hlp.ZIP utils/tex2rtf/docs/*.HLP utils/tex2rtf/docs/*.cnt docs/winhelp/*.hlp docs/winhelp/*.cnt -x docs/winhelp/wx.hlp docs/winhelp/wx.*
-Rem zip %DAILY%\wx-docs-extra-chm.ZIP utils/tex2rtf/docs/*.chm docs/htmlhelp/*.chm
-cd %DAILY%\
-mkdir docs
-mkdir docs\pdf
-del docs\pdf\*.pdf
-move in\*.pdf docs\pdf
-zip wxWidgets-Docs-PDF.zip docs\pdf\*.pdf
-Rem zip wx-docs-extra-pdf.ZIP docs\pdf\*.pdf -x docs\pdf\wx.pdf
-
-copy docs\htmlhelp\wx.chm %WXWIN%\docs\htmlhelp\wx.chm
+svn cleanup >> c:\temp.log
+svn up >> c:\temp.log
+
+rem now inno
+cd %INNO% >> c:\temp.log
+svn cleanup >> c:\temp.log
+svn up >> c:\temp.log
+
+if exist include\wx\msw\setup.h del include\wx\msw\setup.h
+if exist include\wx\univ\setup.h del include\wx\univ\setup.h
+
+rem for cygwin these need to be in unix format
+del configure
+del config.guess
+del config.sub
+svn up configure
+svn up config.guess
+svn up config.sub
+dos2unix configure
+dos2unix config.guess
+dos2unix config.sub
+
+copy include\wx\msw\setup0.h include\wx\msw\setup.h
+copy include\wx\univ\setup0.h include\wx\univ\setup.h
+echo SVN update >> c:\temp.log
+
+rem just build the formats not in the SVN to keep down the .#makefile...
+cd %INNO%\build\bakefiles
+del .bakefile_gen.state
+bakefile_gen -k -f dmars,dmars_smake,msevc4prj >> c:\temp.log
+
+
+
+rem make and copy chm to inno
+rem Now create standalone copies of docs (chm and htb)
+cd %WXWIN%\docs\doxygen
+del out\html\*.html
+del out\html\*.htb
+del out\*.chm
+call regen chm
+
+
+cd %WXWIN%\docs\doxygen\out
+zip wxWidgets-%WXW_VER%-chm.zip wx.chm
+copy wxWidgets-%WXW_VER%-chm.zip %DAILY%
+cd html
+del *.dot
+del *.md5
+zip -r wx.htb *.*
+zip wxWidgets-%WXW_VER%-htb.zip wx.htb
+copy wxWidgets-%WXW_VER%-htb.zip %DAILY%
+
+
+mkdir %INNO%\docs\htmlhelp
+copy %WXWIN%\docs\doxygen\out\wx.chm \wx\inno\wx29b\docs\htmlhelp\wx.chm