2000-07-15 15:51:35 -04:00
|
|
|
@echo off
|
|
|
|
|
|
|
|
rem **** Make a directory to build up a distribution tree
|
|
|
|
md _distrib_zip
|
|
|
|
md _distrib_zip\wxPython-%1
|
|
|
|
|
2000-10-30 16:08:42 -05:00
|
|
|
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
|
2000-07-15 15:51:35 -04:00
|
|
|
|
2000-10-30 16:08:42 -05:00
|
|
|
REM rem **** Make a zip fron the live files
|
|
|
|
REM zip -@ -r _distrib_zip\temp.zip < distrib\wxPython.rsp
|
2000-07-15 15:51:35 -04:00
|
|
|
|
2000-10-30 16:08:42 -05:00
|
|
|
REM rem **** Unzip it in our build dir
|
|
|
|
REM cd _distrib_zip\wxPython-%1
|
|
|
|
REM unzip ..\temp.zip
|
2000-07-15 15:51:35 -04:00
|
|
|
|
2000-10-30 16:08:42 -05:00
|
|
|
REM rem **** zip up the build dir
|
|
|
|
REM cd ..
|
|
|
|
REM zip -r ..\distrib\wxPython-src-%1.zip wxPython-%1
|
2000-07-15 15:51:35 -04:00
|
|
|
|
2000-10-30 16:08:42 -05:00
|
|
|
cd _distrib_zip
|
2000-07-15 15:51:35 -04:00
|
|
|
|
|
|
|
rem **** copy the docs into the tree
|
|
|
|
md wxPython-%1\docs
|
|
|
|
md wxPython-%1\docs\wx
|
|
|
|
md wxPython-%1\docs\ogl
|
2002-07-19 20:14:28 -04:00
|
|
|
copy %WXWIN%\docs\html\wx\*.* wxPython-%1\docs\wx
|
2000-07-15 15:51:35 -04:00
|
|
|
copy wxPython-%1\docs\wx\wx.htm wxPython-%1\docs\wx\index.htm
|
2002-07-19 20:14:28 -04:00
|
|
|
copy %WXWIN%\docs\html\ogl\*.* wxPython-%1\docs\ogl
|
2000-07-15 15:51:35 -04:00
|
|
|
copy wxPython-%1\docs\ogl\ogl.htm wxPython-%1\docs\ogl\index.htm
|
|
|
|
|
|
|
|
rem **** zip up the docs
|
2000-10-30 16:08:42 -05:00
|
|
|
rem zip -r ..\distrib\wxPython-docs-%1.zip wxPython-%1\docs
|
2001-06-15 17:43:26 -04:00
|
|
|
tar cvf ..\dist\wxPython-docs-%1.tar wxPython-%1
|
|
|
|
gzip -9 ..\dist\wxPython-docs-%1.tar
|
2000-07-15 15:51:35 -04:00
|
|
|
|
|
|
|
|
|
|
|
rem **** Cleanup
|
|
|
|
cd ..
|
|
|
|
del /sxzy _distrib_zip
|