]> git.saurik.com Git - wxWidgets.git/blame - wxPython/distrib/zipit.bat
tell wxHTML users to initialize wxImage
[wxWidgets.git] / wxPython / distrib / zipit.bat
CommitLineData
f6bcfd97
BP
1@echo off
2
3rem **** Make a directory to build up a distribution tree
4md _distrib_zip
5md _distrib_zip\wxPython-%1
6
c368d904
RD
7REM rem **** Copy the license files
8REM copy %WXWIN%\docs\gpl.txt _distrib_zip\wxPython-%1
9REM copy %WXWIN%\docs\lgpl.txt _distrib_zip\wxPython-%1
10REM copy %WXWIN%\docs\licence.txt _distrib_zip\wxPython-%1
11REM copy %WXWIN%\docs\licendoc.txt _distrib_zip\wxPython-%1
12REM copy %WXWIN%\docs\preamble.txt _distrib_zip\wxPython-%1
f6bcfd97 13
c368d904
RD
14REM rem **** Make a zip fron the live files
15REM zip -@ -r _distrib_zip\temp.zip < distrib\wxPython.rsp
f6bcfd97 16
c368d904
RD
17REM rem **** Unzip it in our build dir
18REM cd _distrib_zip\wxPython-%1
19REM unzip ..\temp.zip
f6bcfd97 20
c368d904
RD
21REM rem **** zip up the build dir
22REM cd ..
23REM zip -r ..\distrib\wxPython-src-%1.zip wxPython-%1
f6bcfd97 24
c368d904 25cd _distrib_zip
f6bcfd97
BP
26
27rem **** copy the docs into the tree
28md wxPython-%1\docs
29md wxPython-%1\docs\wx
30md wxPython-%1\docs\ogl
31copy %WXWIN%\docs\html\wx\*.gif wxPython-%1\docs\wx
32copy %WXWIN%\docs\html\wx\*.htm wxPython-%1\docs\wx
33copy wxPython-%1\docs\wx\wx.htm wxPython-%1\docs\wx\index.htm
34copy %WXWIN%\docs\html\ogl\*.gif wxPython-%1\docs\ogl
35copy %WXWIN%\docs\html\ogl\*.htm wxPython-%1\docs\ogl
36copy wxPython-%1\docs\ogl\ogl.htm wxPython-%1\docs\ogl\index.htm
37
38rem **** zip up the docs
c368d904 39rem zip -r ..\distrib\wxPython-docs-%1.zip wxPython-%1\docs
d56cebe7
RD
40tar cvf ..\dist\wxPython-docs-%1.tar wxPython-%1
41gzip -9 ..\dist\wxPython-docs-%1.tar
f6bcfd97
BP
42
43
44rem **** Cleanup
45cd ..
46del /sxzy _distrib_zip