]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/distrib/makedev.bat
Don't create the fonts until after they are needed (after the App
[wxWidgets.git] / wxPython / distrib / makedev.bat
index 15735fc6e04b22b20ba31d36936293b1af229ae6..252606a81f14c727e6c6ba5e0c4abd2a56a2759c 100755 (executable)
@@ -1,41 +1,72 @@
 @echo off
 rem   Builds a zip containing stuff needed to link with the wxWindows DLL
-rem   shipped with wxPython.  This allows other developers to create apps
+rem   shipped with wxPython.  This should allow other developers to create apps
 rem   or extensions that can share the same DLL.
 
-mkdir wxWin
-mkdir wxWin\lib
-copy %WXWIN%\lib\*.lib wxWin\lib
-del wxWin\lib\*_d.lib
+setlocal
+set BASE=_distrib_zip\wxPython-%1
 
-mkdir wxWin\src
-copy %WXWIN%\src\makevc.env wxWin\src
-copy %WXWIN%\src\*.vc wxWin\src
+rem **** Make a directory to build up a distribution tree
+mkdir _distrib_zip
+mkdir %BASE%
 
-mkdir wxWin\src\msw
-mkdir wxWin\src\msw\ReleaseDLL
-copy %WXWIN%\src\msw\*.pch wxWin\src\msw
-del wxWin\src\msw\*_d.pch
-copy %WXWIN%\src\msw\ReleaseDLL\dummy*.obj wxWin\src\msw\ReleaseDLL
 
-mkdir wxWin\include
-mkdir wxWin\include\wx
-mkdir wxWin\include\wx\msw
-mkdir wxWin\include\wx\generic
-mkdir wxWin\include\wx\html
-mkdir wxWin\include\wx\protocol
+rem *** copy files
+copy distrib\README.devel.txt %BASE%\README.txt
 
-copy %WXWIN%\include\wx\*.* wxWin\include\wx
-copy /s %WXWIN%\include\wx\msw\* wxWin\include\wx\msw
-copy /s %WXWIN%\include\wx\generic\* wxWin\include\wx\generic
-copy /s %WXWIN%\include\wx\html\* wxWin\include\wx\html
-copy /s %WXWIN%\include\wx\protocol\* wxWin\include\wx\protocol
+mkdir %BASE%\include
+mkdir %BASE%\include\wx
+copy /s %WXWIN%\include\wx\*   %BASE%\include\wx
 
+mkdir %BASE%\lib
+mkdir %BASE%\lib\mswdllh
+mkdir %BASE%\lib\mswdlluh
+copy /s %WXWIN%\lib\mswdllh\*  %BASE%\lib\mswdllh
+copy /s %WXWIN%\lib\mswdlluh\*         %BASE%\lib\mswdlluh
+copy %WXWIN%\lib\wxmsw*h.lib   %BASE%\lib
+copy %WXWIN%\lib\wxmsw*h.dll   %BASE%\lib
+copy %WXWIN%\lib\mslu.txt      %BASE%\lib
+copy %WXWIN%\lib\unicows.dll   %BASE%\lib
+copy %WXWIN%\lib\unicows.lib   %BASE%\lib
 
-zip -r wxPython-dev-%1.zip wxWin
+mkdir %BASE%\src
+copy %WXWIN%\src\makevc.env    %BASE%\src
+copy %WXWIN%\src\makelib.vc    %BASE%\src
 
 
-del /sx wxWin
+rem *** remove unneeded files
+del /sxzy %BASE%\include\wx\CVS
+del /sxzy %BASE%\include\wx\generic\CVS
+del /sxzy %BASE%\include\wx\gtk\CVS
+del /sxzy %BASE%\include\wx\html\CVS
+del /sxzy %BASE%\include\wx\mac\CVS
+del /sxzy %BASE%\include\wx\mgl\CVS
+del /sxzy %BASE%\include\wx\motif\CVS
+del /sxzy %BASE%\include\wx\msw\CVS
+del /sxzy %BASE%\include\wx\msw\ctl3d\CVS
+del /sxzy %BASE%\include\wx\msw\gnuwin32\CVS
+del /sxzy %BASE%\include\wx\msw\gnuwin32\gl\CVS
+del /sxzy %BASE%\include\wx\msw\ole\CVS
+del /sxzy %BASE%\include\wx\os2\CVS
+del /sxzy %BASE%\include\wx\protocol\CVS
+del /sxzy %BASE%\include\wx\univ\CVS
+del /sxzy %BASE%\include\wx\unix\CVS
+del /sxzy %BASE%\include\wx\x11\CVS
+del /sxzy %BASE%\include\wx\x11\nanox\CVS
+del /sxzy %BASE%\include\wx\x11\nanox\X11\CVS
+
+
+
+rem *** bundle it all up
+cd _distrib_zip
+tar cvf ../dist/wxPythonWIN32-devel-%1.tar wxPython-%1
+gzip -9 ../dist/wxPythonWIN32-devel-%1.tar
+
+rem *** cleanup
+cd ..
+del /sxzy _distrib_zip
+
+endlocal