md _distrib_zip
md _distrib_zip\wxPython-%1
-rem **** Copy the license files
-copy %WXWIN%\docs\gpl.txt _distrib_zip\wxPython-%1
-copy %WXWIN%\docs\lgpl.txt _distrib_zip\wxPython-%1
-copy %WXWIN%\docs\licence.txt _distrib_zip\wxPython-%1
-copy %WXWIN%\docs\licendoc.txt _distrib_zip\wxPython-%1
-copy %WXWIN%\docs\preamble.txt _distrib_zip\wxPython-%1
+REM rem **** Copy the license files
+REM copy %WXWIN%\docs\gpl.txt _distrib_zip\wxPython-%1
+REM copy %WXWIN%\docs\lgpl.txt _distrib_zip\wxPython-%1
+REM copy %WXWIN%\docs\licence.txt _distrib_zip\wxPython-%1
+REM copy %WXWIN%\docs\licendoc.txt _distrib_zip\wxPython-%1
+REM copy %WXWIN%\docs\preamble.txt _distrib_zip\wxPython-%1
-rem **** Make a zip fron the live files
-zip -@ -r _distrib_zip\temp.zip < distrib\wxPython.rsp
+REM rem **** Make a zip fron the live files
+REM zip -@ -r _distrib_zip\temp.zip < distrib\wxPython.rsp
-rem **** Unzip it in our build dir
-cd _distrib_zip\wxPython-%1
-unzip ..\temp.zip
+REM rem **** Unzip it in our build dir
+REM cd _distrib_zip\wxPython-%1
+REM unzip ..\temp.zip
-rem **** zip up the build dir
-cd ..
-zip -r ..\distrib\wxPython-src-%1.zip wxPython-%1
+REM rem **** zip up the build dir
+REM cd ..
+REM zip -r ..\distrib\wxPython-src-%1.zip wxPython-%1
+cd _distrib_zip
rem **** copy the docs into the tree
md wxPython-%1\docs
copy wxPython-%1\docs\ogl\ogl.htm wxPython-%1\docs\ogl\index.htm
rem **** zip up the docs
-zip -r ..\distrib\wxPython-docs-%1.zip wxPython-%1\docs
+rem zip -r ..\distrib\wxPython-docs-%1.zip wxPython-%1\docs
+tar cvf ..\dist\wxPython-docs-%1.tar wxPython-%1
+gzip -9 ..\dist\wxPython-docs-%1.tar
rem **** Cleanup