]>
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 | ||
c368d904 RD |
7 | REM rem **** Copy the license files |
8 | REM copy %WXWIN%\docs\gpl.txt _distrib_zip\wxPython-%1 | |
9 | REM copy %WXWIN%\docs\lgpl.txt _distrib_zip\wxPython-%1 | |
10 | REM copy %WXWIN%\docs\licence.txt _distrib_zip\wxPython-%1 | |
11 | REM copy %WXWIN%\docs\licendoc.txt _distrib_zip\wxPython-%1 | |
12 | REM copy %WXWIN%\docs\preamble.txt _distrib_zip\wxPython-%1 | |
f6bcfd97 | 13 | |
c368d904 RD |
14 | REM rem **** Make a zip fron the live files |
15 | REM zip -@ -r _distrib_zip\temp.zip < distrib\wxPython.rsp | |
f6bcfd97 | 16 | |
c368d904 RD |
17 | REM rem **** Unzip it in our build dir |
18 | REM cd _distrib_zip\wxPython-%1 | |
19 | REM unzip ..\temp.zip | |
f6bcfd97 | 20 | |
c368d904 RD |
21 | REM rem **** zip up the build dir |
22 | REM cd .. | |
23 | REM zip -r ..\distrib\wxPython-src-%1.zip wxPython-%1 | |
f6bcfd97 | 24 | |
c368d904 | 25 | cd _distrib_zip |
f6bcfd97 BP |
26 | |
27 | rem **** copy the docs into the tree | |
28 | md wxPython-%1\docs | |
29 | md wxPython-%1\docs\wx | |
30 | md wxPython-%1\docs\ogl | |
3b5ccda1 | 31 | copy %WXWIN%\docs\html\wx\*.* wxPython-%1\docs\wx |
f6bcfd97 | 32 | copy wxPython-%1\docs\wx\wx.htm wxPython-%1\docs\wx\index.htm |
3b5ccda1 | 33 | copy %WXWIN%\docs\html\ogl\*.* wxPython-%1\docs\ogl |
f6bcfd97 BP |
34 | copy wxPython-%1\docs\ogl\ogl.htm wxPython-%1\docs\ogl\index.htm |
35 | ||
36 | rem **** zip up the docs | |
c368d904 | 37 | rem zip -r ..\distrib\wxPython-docs-%1.zip wxPython-%1\docs |
d56cebe7 RD |
38 | tar cvf ..\dist\wxPython-docs-%1.tar wxPython-%1 |
39 | gzip -9 ..\dist\wxPython-docs-%1.tar | |
f6bcfd97 BP |
40 | |
41 | ||
42 | rem **** Cleanup | |
43 | cd .. | |
44 | del /sxzy _distrib_zip |