]> git.saurik.com Git - wxWidgets.git/blob - wxPython/distrib/makedev.bat
Baked files with Bakefile 0.1.2 (Mac OS 10.3 Python 2.3)
[wxWidgets.git] / wxPython / distrib / makedev.bat
1 @echo off
2 rem Builds a zip containing stuff needed to link with the wxWindows DLL
3 rem shipped with wxPython. This should allow other developers to create apps
4 rem or extensions that can share the same DLL.
5
6 setlocal
7 set BASE=_distrib_zip\wxPython-%1
8
9 rem **** Make a directory to build up a distribution tree
10 mkdir _distrib_zip
11 mkdir %BASE%
12
13
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
20
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
31
32 mkdir %BASE%\src
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
57
58
59
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
64
65 rem *** cleanup
66 cd ..
67 del /sxzy _distrib_zip
68
69 endlocal
70
71
72