X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/951aa70eb410423ef37c0d0572e062f2491f84e1..602a857b25b6b0a07ab26f13815810cafbe05672:/wxPython/distrib/makedev.bat diff --git a/wxPython/distrib/makedev.bat b/wxPython/distrib/makedev.bat index f007113d02..24c2cabfd1 100755 --- a/wxPython/distrib/makedev.bat +++ b/wxPython/distrib/makedev.bat @@ -6,6 +6,12 @@ rem or extensions that can share the same DLL. setlocal set BASE=_distrib_zip\wxPython-%1 +set TYPE=h +if %2 == "debug" set TYPE=d + +set DELTYPE=d +if %2 == "debug" set DELTYPE=h + rem **** Make a directory to build up a distribution tree mkdir _distrib_zip mkdir %BASE% @@ -22,27 +28,27 @@ copy /s %WXWIN%\include\wx\* %BASE%\include\wx copy /s %WXWIN%\contrib\include\wx\gizmos %BASE%\include\wx\gizmos copy /s %WXWIN%\contrib\include\wx\ogl %BASE%\include\wx\ogl copy /s %WXWIN%\contrib\include\wx\stc %BASE%\include\wx\stc -copy /s %WXWIN%\contrib\include\wx\xrc %BASE%\include\wx\xrc copy /s %WXWIN%\wxPython\include\wx\* %BASE%\include\wx mkdir %BASE%\include\wx\wxPython\i_files copy %WXWIN%\wxPython\src\*.i %BASE%\include\wx\wxPython\i_files +copy %WXWIN%\wxPython\src\*.py %BASE%\include\wx\wxPython\i_files mkdir %BASE%\lib mkdir %BASE%\lib\vc_dll -mkdir %BASE%\lib\vc_dll\mswh -mkdir %BASE%\lib\vc_dll\mswuh +mkdir %BASE%\lib\vc_dll\msw%TYPE% +mkdir %BASE%\lib\vc_dll\mswu%TYPE% -copy /s %WXWIN%\lib\vc_dll\mswh\* %BASE%\lib\vc_dll\mswh -copy /s %WXWIN%\lib\vc_dll\mswuh\* %BASE%\lib\vc_dll\mswuh +copy /s %WXWIN%\lib\vc_dll\msw%TYPE%\* %BASE%\lib\vc_dll\mswh +copy /s %WXWIN%\lib\vc_dll\mswu%TYPE%\* %BASE%\lib\vc_dll\mswuh copy %WXWIN%\lib\vc_dll\* %BASE%\lib\vc_dll rem *** remove unneeded files cd _distrib_zip -ffind /SB wx*d_*.* > del-files -ffind /SB wx*d.* >> del-files +ffind /SB wx*%DELTYPE%_*.* > del-files +ffind /SB wx*%DELTYPE%.* >> del-files ffind /SB .#* >> del-files ffind /SB .cvsignore >> del-files @@ -67,9 +73,11 @@ rem del /sxzy @del-dirs rm del-files rm del-dirs -rem *** bundle it all up -tar cvf ../dist/wxPythonWIN32-devel-%1.tar wxPython-%1 -gzip -9 ../dist/wxPythonWIN32-devel-%1.tar +rem *** bundle it all up TODO: don't hard-code the 2.8 +set EXT= +if %2 == "debug" set EXT="-debug" +tar cvf ../dist/wxPython2.8-win32-devel-%1%EXT%.tar wxPython-%1 +bzip2 -9 ../dist/wxPython2.8-win32-devel-%1%EXT%.tar rem *** cleanup cd ..