merged 2.2 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
43
wxPython/distrib/zipit.bat
Executable file
43
wxPython/distrib/zipit.bat
Executable file
@@ -0,0 +1,43 @@
|
||||
@echo off
|
||||
|
||||
rem **** Make a directory to build up a distribution tree
|
||||
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 **** Make a zip fron the live files
|
||||
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 **** zip up the build dir
|
||||
cd ..
|
||||
zip -r ..\distrib\wxPython-src-%1.zip wxPython-%1
|
||||
|
||||
|
||||
rem **** copy the docs into the tree
|
||||
md wxPython-%1\docs
|
||||
md wxPython-%1\docs\wx
|
||||
md wxPython-%1\docs\ogl
|
||||
copy %WXWIN%\docs\html\wx\*.gif wxPython-%1\docs\wx
|
||||
copy %WXWIN%\docs\html\wx\*.htm wxPython-%1\docs\wx
|
||||
copy wxPython-%1\docs\wx\wx.htm wxPython-%1\docs\wx\index.htm
|
||||
copy %WXWIN%\docs\html\ogl\*.gif wxPython-%1\docs\ogl
|
||||
copy %WXWIN%\docs\html\ogl\*.htm wxPython-%1\docs\ogl
|
||||
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 **** Cleanup
|
||||
cd ..
|
||||
del /sxzy _distrib_zip
|
Reference in New Issue
Block a user