]>
Commit | Line | Data |
---|---|---|
f6bcfd97 BP |
1 | @echo off |
2 | rem Builds a zip containing stuff needed to link with the wxWindows DLL | |
09740c31 | 3 | rem shipped with wxPython. This should allow other developers to create apps |
f6bcfd97 BP |
4 | rem or extensions that can share the same DLL. |
5 | ||
c5e8ed23 | 6 | setlocal |
09740c31 | 7 | set BASE=_distrib_zip\wxPython-%1 |
f6bcfd97 | 8 | |
09740c31 RD |
9 | rem **** Make a directory to build up a distribution tree |
10 | mkdir _distrib_zip | |
c5e8ed23 | 11 | mkdir %BASE% |
f6bcfd97 | 12 | |
f6bcfd97 | 13 | |
09740c31 RD |
14 | rem *** copy files |
15 | copy distrib\README.devel.txt %BASE%\README.txt | |
16 | ||
17 | mkdir %BASE%\include | |
18 | mkdir %BASE%\include\wx | |
19 | copy /s %WXWIN%\include\wx\* %BASE%\include\wx | |
f6bcfd97 | 20 | |
09740c31 RD |
21 | mkdir %BASE%\lib |
22 | mkdir %BASE%\lib\mswdllh | |
23 | mkdir %BASE%\lib\mswdlluh | |
24 | copy /s %WXWIN%\lib\mswdllh\* %BASE%\lib\mswdllh | |
25 | copy /s %WXWIN%\lib\mswdlluh\* %BASE%\lib\mswdlluh | |
26 | copy %WXWIN%\lib\wxmsw*h.lib %BASE%\lib | |
27 | copy %WXWIN%\lib\wxmsw*h.dll %BASE%\lib | |
28 | copy %WXWIN%\lib\mslu.txt %BASE%\lib | |
29 | copy %WXWIN%\lib\unicows.dll %BASE%\lib | |
30 | copy %WXWIN%\lib\unicows.lib %BASE%\lib | |
f6bcfd97 | 31 | |
c5e8ed23 | 32 | mkdir %BASE%\src |
09740c31 RD |
33 | copy %WXWIN%\src\makevc.env %BASE%\src |
34 | copy %WXWIN%\src\makelib.vc %BASE%\src | |
35 | ||
36 | ||
37 | rem *** remove unneeded files | |
38 | del /sxzy %BASE%\include\wx\CVS | |
39 | del /sxzy %BASE%\include\wx\generic\CVS | |
40 | del /sxzy %BASE%\include\wx\gtk\CVS | |
41 | del /sxzy %BASE%\include\wx\html\CVS | |
42 | del /sxzy %BASE%\include\wx\mac\CVS | |
43 | del /sxzy %BASE%\include\wx\mgl\CVS | |
44 | del /sxzy %BASE%\include\wx\motif\CVS | |
45 | del /sxzy %BASE%\include\wx\msw\CVS | |
46 | del /sxzy %BASE%\include\wx\msw\ctl3d\CVS | |
47 | del /sxzy %BASE%\include\wx\msw\gnuwin32\CVS | |
48 | del /sxzy %BASE%\include\wx\msw\gnuwin32\gl\CVS | |
49 | del /sxzy %BASE%\include\wx\msw\ole\CVS | |
50 | del /sxzy %BASE%\include\wx\os2\CVS | |
51 | del /sxzy %BASE%\include\wx\protocol\CVS | |
52 | del /sxzy %BASE%\include\wx\univ\CVS | |
53 | del /sxzy %BASE%\include\wx\unix\CVS | |
54 | del /sxzy %BASE%\include\wx\x11\CVS | |
55 | del /sxzy %BASE%\include\wx\x11\nanox\CVS | |
56 | del /sxzy %BASE%\include\wx\x11\nanox\X11\CVS | |
f6bcfd97 BP |
57 | |
58 | ||
c5e8ed23 | 59 | |
09740c31 RD |
60 | rem *** bundle it all up |
61 | cd _distrib_zip | |
62 | tar cvf ..\dist\wxPythonWIN32-devel-%1.tar wxPython-%1 | |
63 | gzip -9 ..\dist\wxPythonWIN32-devel-%1.tar | |
c5e8ed23 | 64 | |
09740c31 RD |
65 | rem *** cleanup |
66 | cd .. | |
67 | del /sxzy _distrib_zip | |
c5e8ed23 RD |
68 | |
69 | endlocal | |
f6bcfd97 BP |
70 | |
71 | ||
72 |