]> git.saurik.com Git - wxWidgets.git/commitdiff
Got rid of the BIN dir
authorRobin Dunn <robin@alldunn.com>
Thu, 18 Mar 2004 22:05:24 +0000 (22:05 +0000)
committerRobin Dunn <robin@alldunn.com>
Thu, 18 Mar 2004 22:05:24 +0000 (22:05 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/distrib/howto-distrib.txt
wxPython/distrib/make_installer.py
wxPython/distrib/msw/.make.btm
wxPython/distrib/msw/.make_tools.btm [new file with mode: 0644]
wxPython/distrib/msw/.makesetup.mk
wxPython/docs/BUILD.txt
wxPython/docs/INSTALL.txt

index ff33c7652816331a414211a48d660dc205be496b..4630852ab0c1db1d8d30494bda4f2ba8eb031de6 100644 (file)
@@ -45,18 +45,6 @@ Preflight Checklist
 Windows  (build env is on Cyclops)
 ----------------------------------
 
-* Clean out unneded files from wx/BIN
-
-       *.pdb       # debugger data
-       wx*d_*.dll  # debug version of the DLLs
-                   # also old versions
-                   # etc.
-
-* Clean out the same files in wx/lib/vc_dll.  (NOTE to self: There is
-  probably no reason any more to move stuff to the BIN dir.  Update
-  the build and packager scripts and the PATHs and then get rid of
-  it.)
-
 * Do a clean build of the ansi and unicode hybrid versions of
   wxWidgets:
 
@@ -71,7 +59,8 @@ Windows  (build env is on Cyclops)
 
 * Build the tools. This btm script makes a static release version of
   wxWidgets, and then builds copies of wxrc.exe and tex2rtf.exe
-  linking with that lib, placing them in wx/BIN.
+  linking with that lib, placing them in wx/lib/vc_dll, (which you
+  should have on the PATH.)
 
        .make_tools.btm
 
index 8e726a6f06c5101d2004f7baa196802cfd41b37e..8e647b9f2d6b49221eaf31931e5fb7c2eecc1ad6 100644 (file)
@@ -65,11 +65,11 @@ CodeFile = %(IFSFILE)s
 ;;------------------------------------------------------------
 
 [Components]
-Name: core;    Description: "wxPython modules and library";  Types: full compact custom;  Flags: fixed
-Name: docs;    Description: "Documentation";                 Types: full
-Name: demo;    Description: "Demo application";              Types: full
-Name: samples; Description: "Sample applications";           Types: full
-
+Name: core;     Description: "wxPython modules and library";  Types: full compact custom;  Flags: fixed
+Name: docs;     Description: "Documentation";                 Types: full
+Name: demo;     Description: "Demo application";              Types: full
+Name: samples;  Description: "Sample applications";           Types: full
+Name: ; Description: "Manifest files for XP LnF";     Types: full
 
 ;;------------------------------------------------------------
 
@@ -78,7 +78,7 @@ Source: "%(SYSDIR)s\MSVCRT.dll";        DestDir: "{code:GetPythonDir}"; CopyMode
 Source: "%(SYSDIR)s\MSVCIRT.dll";       DestDir: "{code:GetPythonDir}"; CopyMode: alwaysskipifsameorolder; Flags: uninsneveruninstall; Components: core
 Source: "%(SYSDIR)s\MSVCP60.dll";       DestDir: "{code:GetPythonDir}"; CopyMode: alwaysskipifsameorolder; Flags: uninsneveruninstall; Components: core
 
-Source: "%(WXDIR)s\BIN\wx*%(WXDLLVER)s_*.dll";  DestDir: "{app}\wx"; Components: core
+Source: "%(WXDIR)s\lib\vc_dll\wx*%(WXDLLVER)s_*.dll";  DestDir: "{app}\wx"; Components: core
 %(MSLU)s
 Source: "wx\_core.pyd";                        DestDir: "{app}\wx"; Components: core
 Source: "wx\_gdi.pyd";                         DestDir: "{app}\wx"; Components: core
@@ -191,7 +191,7 @@ Source: "scripts\pyshell";                  DestDir: "{code:GetPythonDir}\Script
 Source: "scripts\pycrust";                  DestDir: "{code:GetPythonDir}\Scripts"; Components: core
 Source: "scripts\pywrap";                   DestDir: "{code:GetPythonDir}\Scripts"; Components: core
 Source: "scripts\xrced";                    DestDir: "{code:GetPythonDir}\Scripts"; Components: core
-Source: "%(WXDIR)s\BIN\wxrc.exe";           DestDir: "{code:GetPythonDir}\Scripts"; Components: core
+Source: "%(WXDIR)s\lib\vc_dll\wxrc.exe";           DestDir: "{code:GetPythonDir}\Scripts"; Components: core
 
 Source: "samples\doodle\*.py";              DestDir: "{app}\wx\samples\doodle"; Components: samples
 Source: "samples\doodle\*.txt";             DestDir: "{app}\wx\samples\doodle"; Components: samples
@@ -228,8 +228,8 @@ Source: "samples\wxProject\*.txt";          DestDir: "{app}\wx\samples\wxProject
 Source: "samples\wxProject\*.py";           DestDir: "{app}\wx\samples\wxProject"; Components: samples
 
 
-Source: "src\winxp.manifest";               DestDir: "{code:GetPythonDir}"; DestName: "python.exe.manifest"; Components: core
-Source: "src\winxp.manifest";               DestDir: "{code:GetPythonDir}"; DestName: "pythonw.exe.manifest"; Components: core
+Source: "src\winxp.manifest";               DestDir: "{code:GetPythonDir}"; DestName: "python.exe.manifest"; Components:  manifest
+Source: "src\winxp.manifest";               DestDir: "{code:GetPythonDir}"; DestName: "pythonw.exe.manifest"; Components: manifest
 
 
 ;;------------------------------------------------------------
@@ -511,7 +511,7 @@ def main():
 
     MSLU=''
     if len(sys.argv) > 1 and sys.argv[1] == "UNICODE=1":
-        MSLU=r'Source: "%(WXDIR)s\BIN\unicows.dll";  DestDir: "{code:GetPythonDir}"; Components: core' % vars()
+        MSLU=r'Source: "%(WXDIR)s\lib\vc_dll\unicows.dll";  DestDir: "{code:GetPythonDir}"; Components: core' % vars()
 
     f = open(ISSFILE, "w")
     f.write(ISS_Template % vars())
index fe1d5a2b8660c2cc2ba4a2054a9ec9ad3e15265f..924fa539dee4ea30f666a82a91eff28e13b1a6d7 100644 (file)
@@ -4,28 +4,28 @@ setlocal
 
 iff "%1" == "both" then
        shift
-       call .make debug %$      & if %? != 0 quit $?
-       call .make hybrid %$     & if %? != 0 quit $?
+       call .make debug %$      & if %? != 0 quit %?
+       call .make hybrid %$     & if %? != 0 quit %?
        quit
 
 elseiff "%1" == "both-uni" then
        shift
-       call .make debug-uni %$  & if %? != 0 quit $?
-       call .make hybrid-uni %$ & if %? != 0 quit $?
+       call .make debug-uni %$  & if %? != 0 quit %?
+       call .make hybrid-uni %$ & if %? != 0 quit %?
        quit
 
 elseiff "%1" == "both-hybrid" then
        shift
-       call .make hybrid %$     & if %? != 0 quit $?
-       call .make hybrid-uni %$ & if %? != 0 quit $?
+       call .make hybrid %$     & if %? != 0 quit %?
+       call .make hybrid-uni %$ & if %? != 0 quit %?
        quit
 
 elseiff "%1" == "all" then
        shift
-       call .make debug %$      & if %? != 0 quit $?
-       call .make hybrid %$     & if %? != 0 quit $?
-       call .make debug-uni %$  & if %? != 0 quit $?
-       call .make hybrid-uni %$ & if %? != 0 quit $?
+       call .make debug %$      & if %? != 0 quit %?
+       call .make hybrid %$     & if %? != 0 quit %?
+       call .make debug-uni %$  & if %? != 0 quit %?
+       call .make hybrid-uni %$ & if %? != 0 quit %?
        quit
 
 elseiff "%1" == "debug" then
@@ -113,8 +113,8 @@ cd -
 @echo --   SUCCESS!  --
 @echo -----------------
 REM copy DLLs to a dir on the PATH
-copy /U %WXWIN%\lib\vc_dll\*.dll %WXWIN%\BIN
-copy /U %WXWIN%\lib\vc_dll\*.pdb %WXWIN%\BIN
+REM copy /U %WXWIN%\lib\vc_dll\*.dll %WXWIN%\BIN
+REM copy /U %WXWIN%\lib\vc_dll\*.pdb %WXWIN%\BIN
 quit 0
 
 
diff --git a/wxPython/distrib/msw/.make_tools.btm b/wxPython/distrib/msw/.make_tools.btm
new file mode 100644 (file)
index 0000000..a690fd9
--- /dev/null
@@ -0,0 +1,20 @@
+
+nmake -f makefile.vc BUILD=release %$
+
+pushd %WXWIN%\contrib\build\xrc
+nmake -f makefile.vc BUILD=release %$
+
+pushd %WXWIN%\contrib\utils\wxrc
+nmake -f makefile.vc BUILD=release %$
+copy vc_msw\wxrc.exe %WXWIN%\lib\vc_dll\wxrc.exe
+
+
+pushd %WXWIN%\utils\tex2rtf\src
+nmake -f makefile.vc BUILD=release %$
+copy vc_msw\tex2rtf.exe %WXWIN%\lib\vc_dll\tex2rtf.exe
+
+popd
+popd
+popd
+
+
index f997d08996bc9c81ff999bd9c3cc053ac756a7e9..06a1130d335f32e51a1192c16c186222d7a16b60 100644 (file)
@@ -1,5 +1,5 @@
 
-SRC=..\..\include\wx\msw\setup.h
+SRC=$(WXWIN)\include\wx\msw\setup.h
 DIR=$(WXWIN)\lib
 FILES= $(DIR)\vc_dll\mswd\wx\setup.h \
         $(DIR)\vc_dll\mswh\wx\setup.h \
@@ -26,6 +26,11 @@ $(DIR)\vc_dll\mswh\wx\setup.h : $(SRC) .makesetup.mk
        -if not exist  $(DIR)\vc_dll\mswh\wx mkdir /s $(DIR)\vc_dll\mswh\wx
        cat $(SRC) | $(HYB_SEDCMD) > $@
 
+# release
+$(DIR)\vc_dll\msw\wx\setup.h : $(SRC) .makesetup.mk
+       -if not exist  $(DIR)\vc_dll\msw\wx mkdir /s $(DIR)\vc_dll\msw\wx
+       cat $(SRC) > $@
+
 # debug-uni
 $(DIR)\vc_dll\mswud\wx\setup.h : $(SRC) .makesetup.mk
        -if not exist  $(DIR)\vc_dll\mswud\wx mkdir /s $(DIR)\vc_dll\mswud\wx
@@ -36,11 +41,6 @@ $(DIR)\vc_dll\mswuh\wx\setup.h : $(SRC) .makesetup.mk
        -if not exist  $(DIR)\vc_dll\mswuh\wx mkdir /s $(DIR)\vc_dll\mswuh\wx
        cat $(SRC) | $(UNI_SEDCMD) | $(HYB_SEDCMD) > $@
 
-# release
-$(DIR)\vc_dll\msw\wx\setup.h : $(SRC) .makesetup.mk
-       -if not exist  $(DIR)\vc_dll\msw\wx mkdir /s $(DIR)\vc_dll\msw\wx
-       cat $(SRC) > $@
-
 # release-uni
 $(DIR)\vc_dll\mswu\wx\setup.h : $(SRC) .makesetup.mk
        -if not exist  $(DIR)\vc_dll\mswu\wx mkdir /s $(DIR)\vc_dll\mswu\wx
index 051892f52ae7076bcefe9bae9eb8743945c15570..d27156d0a19a2b5a669004036e72a79edffd2535 100644 (file)
@@ -256,8 +256,9 @@ here.  There is a copy of my build scripts in wxWidgets\wxPython\distrib\msw
          wxUSE_DISPLAY                  1
          
 
-4. Make a %WXWIN%\BIN directory and add it to the PATH.  My build
-   scripts will copy the wxWidgets DLLs there.
+4. Make sure that %WXWIN%\lib\vc_dll directory is on the PATH.  The
+   wxWidgets DLLs will end up there as part of the build and so you'll
+   need it on the PATH for them to be found at runtime.
 
 
 5. Change to the %WXWIN%\build\msw directory and copy my build scripts
index 6b5070f7ff613df221def75a49c152f5795c5b5b..860a6cea3e457ac0487ceb9ff814cf4267810f3b 100644 (file)
@@ -134,6 +134,6 @@ Installing on Windows
    found at runtime by the extension modules without requiring that
    they be installed on the PATH::
 
-       copy %WXWIN%\BIN\wx*h_*.dll c:\Python23\Lib\site-pacakges\wx
+       copy %WXWIN%\lib\vc_dll\wx*h_*.dll c:\Python23\Lib\site-pacakges\wx