]> git.saurik.com Git - wxWidgets.git/blame - wxPython/distrib/makedev.bat
added missing LFs to the header
[wxWidgets.git] / wxPython / distrib / makedev.bat
CommitLineData
f6bcfd97
BP
1@echo off
2rem Builds a zip containing stuff needed to link with the wxWindows DLL
09740c31 3rem shipped with wxPython. This should allow other developers to create apps
f6bcfd97
BP
4rem or extensions that can share the same DLL.
5
c5e8ed23 6setlocal
09740c31 7set BASE=_distrib_zip\wxPython-%1
f6bcfd97 8
09740c31
RD
9rem **** Make a directory to build up a distribution tree
10mkdir _distrib_zip
c5e8ed23 11mkdir %BASE%
f6bcfd97 12
f6bcfd97 13
09740c31
RD
14rem *** copy files
15copy distrib\README.devel.txt %BASE%\README.txt
16
951aa70e 17
09740c31
RD
18mkdir %BASE%\include
19mkdir %BASE%\include\wx
951aa70e
RD
20copy /s %WXWIN%\include\wx\* %BASE%\include\wx
21
22copy /s %WXWIN%\contrib\include\wx\gizmos %BASE%\include\wx\gizmos
23copy /s %WXWIN%\contrib\include\wx\ogl %BASE%\include\wx\ogl
24copy /s %WXWIN%\contrib\include\wx\stc %BASE%\include\wx\stc
951aa70e
RD
25
26copy /s %WXWIN%\wxPython\include\wx\* %BASE%\include\wx
27mkdir %BASE%\include\wx\wxPython\i_files
28copy %WXWIN%\wxPython\src\*.i %BASE%\include\wx\wxPython\i_files
f6bcfd97 29
09740c31 30mkdir %BASE%\lib
951aa70e
RD
31mkdir %BASE%\lib\vc_dll
32mkdir %BASE%\lib\vc_dll\mswh
33mkdir %BASE%\lib\vc_dll\mswuh
f6bcfd97 34
951aa70e
RD
35copy /s %WXWIN%\lib\vc_dll\mswh\* %BASE%\lib\vc_dll\mswh
36copy /s %WXWIN%\lib\vc_dll\mswuh\* %BASE%\lib\vc_dll\mswuh
37copy %WXWIN%\lib\vc_dll\* %BASE%\lib\vc_dll
09740c31
RD
38
39
40rem *** remove unneeded files
951aa70e
RD
41cd _distrib_zip
42
43ffind /SB wx*d_*.* > del-files
44ffind /SB wx*d.* >> del-files
45ffind /SB .#* >> del-files
46ffind /SB .cvsignore >> del-files
f6bcfd97 47
951aa70e
RD
48for %f in (@del-files) do rm -fv %f
49rem del /y @del-files
f6bcfd97 50
c5e8ed23 51
951aa70e
RD
52ffind /SB /A:D CVS > del-dirs
53echo wxPython-%1\include\wx\cocoa >> del-dirs
54echo wxPython-%1\include\wx\gtk >> del-dirs
55echo wxPython-%1\include\wx\mac >> del-dirs
56echo wxPython-%1\include\wx\mgl >> del-dirs
57echo wxPython-%1\include\wx\motif >> del-dirs
58echo wxPython-%1\include\wx\os2 >> del-dirs
59echo wxPython-%1\include\wx\univ >> del-dirs
60echo wxPython-%1\include\wx\unix >> del-dirs
61echo wxPython-%1\include\wx\x11 >> del-dirs
62
63for %d in (@del-dirs) do rm -rfv %d
64rem del /sxzy @del-dirs
65
66rm del-files
67rm del-dirs
68
1e45356c
RD
69rem *** bundle it all up TODO: don't hard-code the 2.5
70tar cvf ../dist/wxPython2.5-win32-devel-%1.tar wxPython-%1
71gzip -9 ../dist/wxPython2.5-win32-devel-%1.tar
c5e8ed23 72
09740c31
RD
73rem *** cleanup
74cd ..
951aa70e 75rm -rf _distrib_zip
c5e8ed23
RD
76
77endlocal
f6bcfd97
BP
78
79
80