]> git.saurik.com Git - wxWidgets.git/blame - wxPython/distrib/zipit.bat
Preparing makefiles for freetype
[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
7rem **** Copy the license files
8copy %WXWIN%\docs\gpl.txt _distrib_zip\wxPython-%1
9copy %WXWIN%\docs\lgpl.txt _distrib_zip\wxPython-%1
10copy %WXWIN%\docs\licence.txt _distrib_zip\wxPython-%1
11copy %WXWIN%\docs\licendoc.txt _distrib_zip\wxPython-%1
12copy %WXWIN%\docs\preamble.txt _distrib_zip\wxPython-%1
13
14rem **** Make a zip fron the live files
15zip -@ -r _distrib_zip\temp.zip < distrib\wxPython.rsp
16
17rem **** Unzip it in our build dir
18cd _distrib_zip\wxPython-%1
19unzip ..\temp.zip
20
21rem **** zip up the build dir
22cd ..
23zip -r ..\distrib\wxPython-src-%1.zip wxPython-%1
24
25
26rem **** copy the docs into the tree
27md wxPython-%1\docs
28md wxPython-%1\docs\wx
29md wxPython-%1\docs\ogl
30copy %WXWIN%\docs\html\wx\*.gif wxPython-%1\docs\wx
31copy %WXWIN%\docs\html\wx\*.htm wxPython-%1\docs\wx
32copy wxPython-%1\docs\wx\wx.htm wxPython-%1\docs\wx\index.htm
33copy %WXWIN%\docs\html\ogl\*.gif wxPython-%1\docs\ogl
34copy %WXWIN%\docs\html\ogl\*.htm wxPython-%1\docs\ogl
35copy wxPython-%1\docs\ogl\ogl.htm wxPython-%1\docs\ogl\index.htm
36
37rem **** zip up the docs
38zip -r ..\distrib\wxPython-docs-%1.zip wxPython-%1\docs
39
40
41rem **** Cleanup
42cd ..
43del /sxzy _distrib_zip