]>
Commit | Line | Data |
---|---|---|
f6bcfd97 BP |
1 | @echo off |
2 | ||
3 | rem **** Make a directory to build up a distribution tree | |
4 | md _distrib_zip | |
5 | md _distrib_zip\wxPython-%1 | |
6 | ||
7 | rem **** Copy the license files | |
8 | copy %WXWIN%\docs\gpl.txt _distrib_zip\wxPython-%1 | |
9 | copy %WXWIN%\docs\lgpl.txt _distrib_zip\wxPython-%1 | |
10 | copy %WXWIN%\docs\licence.txt _distrib_zip\wxPython-%1 | |
11 | copy %WXWIN%\docs\licendoc.txt _distrib_zip\wxPython-%1 | |
12 | copy %WXWIN%\docs\preamble.txt _distrib_zip\wxPython-%1 | |
13 | ||
14 | rem **** Make a zip fron the live files | |
15 | zip -@ -r _distrib_zip\temp.zip < distrib\wxPython.rsp | |
16 | ||
17 | rem **** Unzip it in our build dir | |
18 | cd _distrib_zip\wxPython-%1 | |
19 | unzip ..\temp.zip | |
20 | ||
21 | rem **** zip up the build dir | |
22 | cd .. | |
23 | zip -r ..\distrib\wxPython-src-%1.zip wxPython-%1 | |
24 | ||
25 | ||
26 | rem **** copy the docs into the tree | |
27 | md wxPython-%1\docs | |
28 | md wxPython-%1\docs\wx | |
29 | md wxPython-%1\docs\ogl | |
30 | copy %WXWIN%\docs\html\wx\*.gif wxPython-%1\docs\wx | |
31 | copy %WXWIN%\docs\html\wx\*.htm wxPython-%1\docs\wx | |
32 | copy wxPython-%1\docs\wx\wx.htm wxPython-%1\docs\wx\index.htm | |
33 | copy %WXWIN%\docs\html\ogl\*.gif wxPython-%1\docs\ogl | |
34 | copy %WXWIN%\docs\html\ogl\*.htm wxPython-%1\docs\ogl | |
35 | copy wxPython-%1\docs\ogl\ogl.htm wxPython-%1\docs\ogl\index.htm | |
36 | ||
37 | rem **** zip up the docs | |
38 | zip -r ..\distrib\wxPython-docs-%1.zip wxPython-%1\docs | |
39 | ||
40 | ||
41 | rem **** Cleanup | |
42 | cd .. | |
43 | del /sxzy _distrib_zip |