[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [17124] branches/harmonic-skeleton: merge 16951:17122

Martin Poirier theeth at yahoo.com
Mon Oct 20 02:48:10 CEST 2008


Revision: 17124
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=17124
Author:   theeth
Date:     2008-10-20 02:48:10 +0200 (Mon, 20 Oct 2008)

Log Message:
-----------
merge 16951:17122

Modified Paths:
--------------
    branches/harmonic-skeleton/CMakeLists.txt
    branches/harmonic-skeleton/SConstruct
    branches/harmonic-skeleton/bin/.blender/locale/ar/LC_MESSAGES/blender.mo
    branches/harmonic-skeleton/bin/.blender/locale/bg/LC_MESSAGES/blender.mo
    branches/harmonic-skeleton/bin/.blender/locale/ca/LC_MESSAGES/blender.mo
    branches/harmonic-skeleton/bin/.blender/locale/cs/LC_MESSAGES/blender.mo
    branches/harmonic-skeleton/bin/.blender/locale/de/LC_MESSAGES/blender.mo
    branches/harmonic-skeleton/bin/.blender/locale/el/LC_MESSAGES/blender.mo
    branches/harmonic-skeleton/bin/.blender/locale/es/LC_MESSAGES/blender.mo
    branches/harmonic-skeleton/bin/.blender/locale/fi/LC_MESSAGES/blender.mo
    branches/harmonic-skeleton/bin/.blender/locale/fr/LC_MESSAGES/blender.mo
    branches/harmonic-skeleton/bin/.blender/locale/hr/LC_MESSAGES/blender.mo
    branches/harmonic-skeleton/bin/.blender/locale/it/LC_MESSAGES/blender.mo
    branches/harmonic-skeleton/bin/.blender/locale/ja/LC_MESSAGES/blender.mo
    branches/harmonic-skeleton/bin/.blender/locale/ko/LC_MESSAGES/blender.mo
    branches/harmonic-skeleton/bin/.blender/locale/nl/LC_MESSAGES/blender.mo
    branches/harmonic-skeleton/bin/.blender/locale/pl/LC_MESSAGES/blender.mo
    branches/harmonic-skeleton/bin/.blender/locale/pt_BR/LC_MESSAGES/blender.mo
    branches/harmonic-skeleton/bin/.blender/locale/ro/LC_MESSAGES/blender.mo
    branches/harmonic-skeleton/bin/.blender/locale/ru/LC_MESSAGES/blender.mo
    branches/harmonic-skeleton/bin/.blender/locale/sr/LC_MESSAGES/blender.mo
    branches/harmonic-skeleton/bin/.blender/locale/sr at Latn/LC_MESSAGES/blender.mo
    branches/harmonic-skeleton/bin/.blender/locale/sv/LC_MESSAGES/blender.mo
    branches/harmonic-skeleton/bin/.blender/locale/uk/LC_MESSAGES/blender.mo
    branches/harmonic-skeleton/bin/.blender/locale/zh_CN/LC_MESSAGES/blender.mo
    branches/harmonic-skeleton/config/darwin-config.py
    branches/harmonic-skeleton/config/linux2-config.py
    branches/harmonic-skeleton/config/linuxcross-config.py
    branches/harmonic-skeleton/config/openbsd3-config.py
    branches/harmonic-skeleton/config/sunos5-config.py
    branches/harmonic-skeleton/config/win32-mingw-config.py
    branches/harmonic-skeleton/config/win32-vc-config.py
    branches/harmonic-skeleton/extern/bullet2/src/BulletDynamics/ConstraintSolver/btSequentialImpulseConstraintSolver.cpp
    branches/harmonic-skeleton/extern/bullet2/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp
    branches/harmonic-skeleton/extern/bullet2/src/BulletSoftBody/btSoftBody.cpp
    branches/harmonic-skeleton/extern/bullet2/src/BulletSoftBody/btSoftBody.h
    branches/harmonic-skeleton/extern/bullet2/src/BulletSoftBody/btSoftBodyRigidBodyCollisionConfiguration.cpp
    branches/harmonic-skeleton/extern/bullet2/src/BulletSoftBody/btSoftRigidCollisionAlgorithm.cpp
    branches/harmonic-skeleton/intern/SoundSystem/SND_Utils.h
    branches/harmonic-skeleton/intern/SoundSystem/fmod/SND_FmodDevice.cpp
    branches/harmonic-skeleton/intern/SoundSystem/intern/SND_Scene.cpp
    branches/harmonic-skeleton/intern/SoundSystem/intern/SND_SoundObject.cpp
    branches/harmonic-skeleton/intern/SoundSystem/intern/SND_Utils.cpp
    branches/harmonic-skeleton/intern/SoundSystem/sdl/SND_SDLCDDevice.cpp
    branches/harmonic-skeleton/intern/elbeem/intern/Makefile
    branches/harmonic-skeleton/intern/elbeem/intern/elbeem.cpp
    branches/harmonic-skeleton/intern/ghost/intern/GHOST_WindowWin32.cpp
    branches/harmonic-skeleton/po/ar.po
    branches/harmonic-skeleton/po/bg.po
    branches/harmonic-skeleton/po/ca.po
    branches/harmonic-skeleton/po/cs.po
    branches/harmonic-skeleton/po/de.po
    branches/harmonic-skeleton/po/el.po
    branches/harmonic-skeleton/po/es.po
    branches/harmonic-skeleton/po/fi.po
    branches/harmonic-skeleton/po/fr.po
    branches/harmonic-skeleton/po/hr.po
    branches/harmonic-skeleton/po/it.po
    branches/harmonic-skeleton/po/ja.po
    branches/harmonic-skeleton/po/ko.po
    branches/harmonic-skeleton/po/nl.po
    branches/harmonic-skeleton/po/pl.po
    branches/harmonic-skeleton/po/pt_BR.po
    branches/harmonic-skeleton/po/ro.po
    branches/harmonic-skeleton/po/ru.po
    branches/harmonic-skeleton/po/sr.po
    branches/harmonic-skeleton/po/sr at Latn.po
    branches/harmonic-skeleton/po/sv.po
    branches/harmonic-skeleton/po/uk.po
    branches/harmonic-skeleton/po/zh_CN.po
    branches/harmonic-skeleton/release/VERSION
    branches/harmonic-skeleton/release/datafiles/splash.jpg
    branches/harmonic-skeleton/release/scripts/bvh_import.py
    branches/harmonic-skeleton/release/scripts/c3d_import.py
    branches/harmonic-skeleton/release/scripts/config.py
    branches/harmonic-skeleton/release/scripts/export_dxf.py
    branches/harmonic-skeleton/release/scripts/export_fbx.py
    branches/harmonic-skeleton/release/scripts/export_obj.py
    branches/harmonic-skeleton/release/scripts/help_browser.py
    branches/harmonic-skeleton/release/scripts/hotkeys.py
    branches/harmonic-skeleton/release/scripts/import_obj.py
    branches/harmonic-skeleton/release/scripts/render_save_layers.py
    branches/harmonic-skeleton/release/scripts/scripttemplate_gamelogic_basic.py
    branches/harmonic-skeleton/release/scripts/vrml97_export.py
    branches/harmonic-skeleton/release/text/BlenderQuickStart.pdf
    branches/harmonic-skeleton/release/text/Python-license.txt
    branches/harmonic-skeleton/release/windows/installer/00.sconsblender.nsi
    branches/harmonic-skeleton/source/blender/blenkernel/BKE_blender.h
    branches/harmonic-skeleton/source/blender/blenkernel/intern/bullet.c
    branches/harmonic-skeleton/source/blender/blenkernel/intern/collision.c
    branches/harmonic-skeleton/source/blender/blenkernel/intern/displist.c
    branches/harmonic-skeleton/source/blender/blenkernel/intern/idprop.c
    branches/harmonic-skeleton/source/blender/blenkernel/intern/image.c
    branches/harmonic-skeleton/source/blender/blenkernel/intern/key.c
    branches/harmonic-skeleton/source/blender/blenkernel/intern/library.c
    branches/harmonic-skeleton/source/blender/blenkernel/intern/modifier.c
    branches/harmonic-skeleton/source/blender/blenkernel/intern/multires.c
    branches/harmonic-skeleton/source/blender/blenkernel/intern/particle_system.c
    branches/harmonic-skeleton/source/blender/blenlib/intern/dynlib.c
    branches/harmonic-skeleton/source/blender/blenlib/intern/fileops.c
    branches/harmonic-skeleton/source/blender/blenloader/intern/readfile.c
    branches/harmonic-skeleton/source/blender/gpu/GPU_extensions.h
    branches/harmonic-skeleton/source/blender/gpu/intern/gpu_draw.c
    branches/harmonic-skeleton/source/blender/gpu/intern/gpu_extensions.c
    branches/harmonic-skeleton/source/blender/gpu/intern/gpu_material.c
    branches/harmonic-skeleton/source/blender/imbuf/intern/cineon/cineon_dpx.c
    branches/harmonic-skeleton/source/blender/imbuf/intern/cineon/cineonlib.c
    branches/harmonic-skeleton/source/blender/imbuf/intern/cineon/dpxlib.c
    branches/harmonic-skeleton/source/blender/imbuf/intern/dynlibtiff.c
    branches/harmonic-skeleton/source/blender/include/BDR_gpencil.h
    branches/harmonic-skeleton/source/blender/include/BIF_drawgpencil.h
    branches/harmonic-skeleton/source/blender/include/BIF_keyframing.h
    branches/harmonic-skeleton/source/blender/makesdna/DNA_constraint_types.h
    branches/harmonic-skeleton/source/blender/makesdna/DNA_gpencil_types.h
    branches/harmonic-skeleton/source/blender/makesdna/DNA_sensor_types.h
    branches/harmonic-skeleton/source/blender/makesdna/DNA_userdef_types.h
    branches/harmonic-skeleton/source/blender/python/BPY_menus.c
    branches/harmonic-skeleton/source/blender/python/SConscript
    branches/harmonic-skeleton/source/blender/python/api2_2x/Armature.c
    branches/harmonic-skeleton/source/blender/python/api2_2x/Ipocurve.c
    branches/harmonic-skeleton/source/blender/python/api2_2x/Material.c
    branches/harmonic-skeleton/source/blender/python/api2_2x/Mesh.c
    branches/harmonic-skeleton/source/blender/python/api2_2x/Object.c
    branches/harmonic-skeleton/source/blender/python/api2_2x/Particle.c
    branches/harmonic-skeleton/source/blender/python/api2_2x/Window.c
    branches/harmonic-skeleton/source/blender/python/api2_2x/doc/BGL.py
    branches/harmonic-skeleton/source/blender/python/api2_2x/doc/Ipo.py
    branches/harmonic-skeleton/source/blender/python/api2_2x/doc/IpoCurve.py
    branches/harmonic-skeleton/source/blender/python/api2_2x/doc/Material.py
    branches/harmonic-skeleton/source/blender/python/api2_2x/doc/Noise.py
    branches/harmonic-skeleton/source/blender/python/api2_2x/doc/Object.py
    branches/harmonic-skeleton/source/blender/python/api2_2x/doc/Particle.py
    branches/harmonic-skeleton/source/blender/python/api2_2x/doc/Render.py
    branches/harmonic-skeleton/source/blender/python/api2_2x/doc/Text.py
    branches/harmonic-skeleton/source/blender/python/api2_2x/doc/Texture.py
    branches/harmonic-skeleton/source/blender/python/api2_2x/doc/epy_docgen.sh
    branches/harmonic-skeleton/source/blender/python/api2_2x/sceneRender.c
    branches/harmonic-skeleton/source/blender/render/extern/include/RE_shader_ext.h
    branches/harmonic-skeleton/source/blender/render/intern/include/shading.h
    branches/harmonic-skeleton/source/blender/render/intern/include/sss.h
    branches/harmonic-skeleton/source/blender/render/intern/include/zbuf.h
    branches/harmonic-skeleton/source/blender/render/intern/source/convertblender.c
    branches/harmonic-skeleton/source/blender/render/intern/source/envmap.c
    branches/harmonic-skeleton/source/blender/render/intern/source/rayshade.c
    branches/harmonic-skeleton/source/blender/render/intern/source/rendercore.c
    branches/harmonic-skeleton/source/blender/render/intern/source/shadeinput.c
    branches/harmonic-skeleton/source/blender/render/intern/source/shadeoutput.c
    branches/harmonic-skeleton/source/blender/render/intern/source/sss.c
    branches/harmonic-skeleton/source/blender/render/intern/source/zbuf.c
    branches/harmonic-skeleton/source/blender/src/buttons_editing.c
    branches/harmonic-skeleton/source/blender/src/buttons_logic.c
    branches/harmonic-skeleton/source/blender/src/buttons_object.c
    branches/harmonic-skeleton/source/blender/src/buttons_shading.c
    branches/harmonic-skeleton/source/blender/src/drawaction.c
    branches/harmonic-skeleton/source/blender/src/drawgpencil.c
    branches/harmonic-skeleton/source/blender/src/drawimage.c
    branches/harmonic-skeleton/source/blender/src/drawnode.c
    branches/harmonic-skeleton/source/blender/src/drawobject.c
    branches/harmonic-skeleton/source/blender/src/drawseq.c
    branches/harmonic-skeleton/source/blender/src/drawtext.c
    branches/harmonic-skeleton/source/blender/src/editaction.c
    branches/harmonic-skeleton/source/blender/src/editaction_gpencil.c
    branches/harmonic-skeleton/source/blender/src/editconstraint.c
    branches/harmonic-skeleton/source/blender/src/editmesh.c
    branches/harmonic-skeleton/source/blender/src/editmesh_lib.c
    branches/harmonic-skeleton/source/blender/src/editnode.c
    branches/harmonic-skeleton/source/blender/src/fluidsim.c
    branches/harmonic-skeleton/source/blender/src/ghostwinlay.c
    branches/harmonic-skeleton/source/blender/src/gpencil.c
    branches/harmonic-skeleton/source/blender/src/hddaudio.c
    branches/harmonic-skeleton/source/blender/src/header_view3d.c
    branches/harmonic-skeleton/source/blender/src/imagepaint.c
    branches/harmonic-skeleton/source/blender/src/keyframing.c
    branches/harmonic-skeleton/source/blender/src/outliner.c
    branches/harmonic-skeleton/source/blender/src/playanim.c
    branches/harmonic-skeleton/source/blender/src/sequence.c
    branches/harmonic-skeleton/source/blender/src/space.c
    branches/harmonic-skeleton/source/blender/src/splash.jpg.c
    branches/harmonic-skeleton/source/blender/src/transform_conversions.c
    branches/harmonic-skeleton/source/blender/src/view.c
    branches/harmonic-skeleton/source/blender/yafray/intern/export_Plugin.cpp
    branches/harmonic-skeleton/source/creator/CMakeLists.txt
    branches/harmonic-skeleton/source/creator/SConscript
    branches/harmonic-skeleton/source/creator/creator.c
    branches/harmonic-skeleton/source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp
    branches/harmonic-skeleton/source/gameengine/BlenderRoutines/KX_BlenderGL.cpp
    branches/harmonic-skeleton/source/gameengine/Converter/BL_BlenderDataConversion.cpp
    branches/harmonic-skeleton/source/gameengine/Converter/KX_BlenderScalarInterpolator.cpp
    branches/harmonic-skeleton/source/gameengine/Converter/KX_ConvertSensors.cpp
    branches/harmonic-skeleton/source/gameengine/GameLogic/Joystick/SCA_Joystick.cpp
    branches/harmonic-skeleton/source/gameengine/GameLogic/Joystick/SCA_Joystick.h
    branches/harmonic-skeleton/source/gameengine/GameLogic/Joystick/SCA_JoystickEvents.cpp
    branches/harmonic-skeleton/source/gameengine/GameLogic/SCA_ISensor.h
    branches/harmonic-skeleton/source/gameengine/GameLogic/SCA_JoystickManager.cpp
    branches/harmonic-skeleton/source/gameengine/GameLogic/SCA_JoystickSensor.cpp
    branches/harmonic-skeleton/source/gameengine/GameLogic/SCA_JoystickSensor.h
    branches/harmonic-skeleton/source/gameengine/GameLogic/SCA_KeyboardSensor.cpp
    branches/harmonic-skeleton/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp
    branches/harmonic-skeleton/source/gameengine/GamePlayer/netscape/test/resource/test.html
    branches/harmonic-skeleton/source/gameengine/GamePlayer/xembed/CMakeLists.txt
    branches/harmonic-skeleton/source/gameengine/GamePlayer/xembed/UnixShell.c
    branches/harmonic-skeleton/source/gameengine/Ketsji/KX_GameObject.cpp
    branches/harmonic-skeleton/source/gameengine/Ketsji/KX_NearSensor.cpp
    branches/harmonic-skeleton/source/gameengine/Ketsji/KX_PyConstraintBinding.cpp
    branches/harmonic-skeleton/source/gameengine/Ketsji/KX_PythonInit.cpp
    branches/harmonic-skeleton/source/gameengine/Ketsji/KX_PythonInit.h
    branches/harmonic-skeleton/source/gameengine/Ketsji/KX_Scene.cpp
    branches/harmonic-skeleton/source/gameengine/Ketsji/KX_SoundActuator.cpp
    branches/harmonic-skeleton/source/gameengine/Ketsji/KX_TouchSensor.cpp
    branches/harmonic-skeleton/source/gameengine/Ketsji/KX_TouchSensor.h
    branches/harmonic-skeleton/source/gameengine/Ketsji/KX_VehicleWrapper.cpp
    branches/harmonic-skeleton/source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.cpp
    branches/harmonic-skeleton/source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.h
    branches/harmonic-skeleton/source/gameengine/Physics/Dummy/DummyPhysicsEnvironment.cpp
    branches/harmonic-skeleton/source/gameengine/Physics/Dummy/DummyPhysicsEnvironment.h
    branches/harmonic-skeleton/source/gameengine/Physics/Sumo/SumoPhysicsEnvironment.cpp
    branches/harmonic-skeleton/source/gameengine/Physics/Sumo/SumoPhysicsEnvironment.h
    branches/harmonic-skeleton/source/gameengine/Physics/common/PHY_IPhysicsEnvironment.h
    branches/harmonic-skeleton/source/gameengine/PyDoc/GameLogic.py
    branches/harmonic-skeleton/source/gameengine/PyDoc/KX_ActuatorSensor.py
    branches/harmonic-skeleton/source/gameengine/PyDoc/KX_ConstraintActuator.py
    branches/harmonic-skeleton/source/gameengine/PyDoc/KX_IpoActuator.py
    branches/harmonic-skeleton/source/gameengine/PyDoc/Rasterizer.py
    branches/harmonic-skeleton/source/gameengine/PyDoc/epy_docgen.sh
    branches/harmonic-skeleton/tools/Blender.py
    branches/harmonic-skeleton/tools/btools.py

Added Paths:
-----------
    branches/harmonic-skeleton/release/scripts/bpymodules/dxfLibrary.py
    branches/harmonic-skeleton/release/scripts/import_web3d.py
    branches/harmonic-skeleton/release/text/release_248.txt
    branches/harmonic-skeleton/source/blender/python/api2_2x/doc/Renderlayer.py
    branches/harmonic-skeleton/source/blender/python/api2_2x/doc/SConscript
    branches/harmonic-skeleton/source/gameengine/GamePlayer/xembed/apparmor/
    branches/harmonic-skeleton/source/gameengine/GamePlayer/xembed/apparmor/README
    branches/harmonic-skeleton/source/gameengine/GamePlayer/xembed/apparmor/usr.bin.blenderplayer-web
    branches/harmonic-skeleton/source/gameengine/GamePlayer/xembed/blenderplayer-wrapper.c
    branches/harmonic-skeleton/source/gameengine/PyDoc/SCA_JoystickSensor.py

Removed Paths:
-------------
    branches/harmonic-skeleton/source/gameengine/GamePlayer/xembed/apparmor/README
    branches/harmonic-skeleton/source/gameengine/GamePlayer/xembed/apparmor/usr.bin.blenderplayer-web

Property Changed:
----------------
    branches/harmonic-skeleton/source/blender/include/BDR_gpencil.h
    branches/harmonic-skeleton/source/blender/include/BIF_drawgpencil.h
    branches/harmonic-skeleton/source/blender/include/BIF_keyframing.h
    branches/harmonic-skeleton/source/blender/makesdna/DNA_gpencil_types.h
    branches/harmonic-skeleton/source/blender/src/drawgpencil.c
    branches/harmonic-skeleton/source/blender/src/editaction_gpencil.c
    branches/harmonic-skeleton/source/blender/src/gpencil.c
    branches/harmonic-skeleton/source/blender/src/keyframing.c

Modified: branches/harmonic-skeleton/CMakeLists.txt
===================================================================
--- branches/harmonic-skeleton/CMakeLists.txt	2008-10-20 00:27:33 UTC (rev 17123)
+++ branches/harmonic-skeleton/CMakeLists.txt	2008-10-20 00:48:10 UTC (rev 17124)
@@ -64,7 +64,7 @@
 OPTION(WITH_FFMPEG		"Enable FFMPeg Support (http://ffmpeg.mplayerhq.hu/)"	OFF)
 OPTION(WITH_OPENAL		"Enable OpenAL Support (http://www.openal.org)"		ON)
 OPTION(WITH_OPENMP		"Enable OpenMP (has to be supported by the compiler)"	OFF)
-OPTION(WITH_WEBPLUGIN		"Enable Web Plugin (Mozilla-Unix only)"			OFF)
+OPTION(WITH_WEBPLUGIN		"Enable Web Plugin (Unix only)"				OFF)
 
 IF(NOT WITH_GAMEENGINE AND WITH_PLAYER)
   MESSAGE("WARNING: WITH_PLAYER needs WITH_GAMEENGINE")
@@ -429,6 +429,17 @@
 
 
 #-----------------------------------------------------------------------------
+# Blender WebPlugin
+
+IF(WITH_WEBPLUGIN) 
+  SET(GECKO_DIR "${CMAKE_SOURCE_DIR}/../gecko-sdk/" CACHE PATH "Gecko SDK path")
+  SET(WEBPLUGIN_SANDBOX_MODE "apparmor" CACHE STRING "WEB Plugin sandbox mode, can be apparmor, privsep, none")
+
+  SET(WITH_PLAYER ON)
+ENDIF(WITH_WEBPLUGIN)
+
+
+#-----------------------------------------------------------------------------
 # Configure OpenGL.
 INCLUDE(${CMAKE_ROOT}/Modules/FindOpenGL.cmake)
 INCLUDE_DIRECTORIES(${OPENGL_INCLUDE_DIR})
@@ -457,12 +468,6 @@
 # Blender Application
 SUBDIRS(source/creator)
 
-#-----------------------------------------------------------------------------
-# Blender WebPlugin
-IF(WITH_WEBPLUGIN) 
-  SET(MOZILLA_DIR "${CMAKE_SOURCE_DIR}/../gecko-sdk/" CACHE PATH "Gecko SDK path")
-  SET(WITH_PLAYER ON)
-ENDIF(WITH_WEBPLUGIN)
 
 #-----------------------------------------------------------------------------
 # Blender Player

Modified: branches/harmonic-skeleton/SConstruct
===================================================================
--- branches/harmonic-skeleton/SConstruct	2008-10-20 00:27:33 UTC (rev 17123)
+++ branches/harmonic-skeleton/SConstruct	2008-10-20 00:48:10 UTC (rev 17124)
@@ -277,15 +277,15 @@
     env['WITH_BF_BINRELOC'] = False
     env['BF_BUILDINFO'] = False
     env['BF_NO_ELBEEM'] = True
-    
 
-
 # lastly we check for root_build_dir ( we should not do before, otherwise we might do wrong builddir
 #B.root_build_dir = B.arguments.get('BF_BUILDDIR', '..'+os.sep+'build'+os.sep+platform+os.sep)
 B.root_build_dir = env['BF_BUILDDIR']
-env['BUILDDIR'] = B.root_build_dir
+B.doc_build_dir = env['BF_DOCDIR']
 if not B.root_build_dir[-1]==os.sep:
     B.root_build_dir += os.sep
+if not B.doc_build_dir[-1]==os.sep:
+    B.doc_build_dir += os.sep
     
 # We do a shortcut for clean when no quicklist is given: just delete
 # builddir without reading in SConscripts
@@ -294,8 +294,18 @@
     do_clean = True
 
 if not quickie and do_clean:
+    if os.path.exists(B.doc_build_dir):
+        print B.bc.HEADER+'Cleaning doc dir...'+B.bc.ENDC
+        dirs = os.listdir(B.doc_build_dir)
+        for entry in dirs:
+            if os.path.isdir(B.doc_build_dir + entry) == 1:
+                print "clean dir %s"%(B.doc_build_dir+entry)
+                shutil.rmtree(B.doc_build_dir+entry)
+            else: # remove file
+                print "remove file %s"%(B.doc_build_dir+entry)
+                os.remove(B.root_build_dir+entry)
     if os.path.exists(B.root_build_dir):
-        print B.bc.HEADER+'Cleaning...'+B.bc.ENDC
+        print B.bc.HEADER+'Cleaning build dir...'+B.bc.ENDC
         dirs = os.listdir(B.root_build_dir)
         for entry in dirs:
             if os.path.isdir(B.root_build_dir + entry) == 1:
@@ -321,6 +331,8 @@
     os.makedirs ( B.root_build_dir + 'extern' )
     os.makedirs ( B.root_build_dir + 'lib' )
     os.makedirs ( B.root_build_dir + 'bin' )
+if not os.path.isdir(B.doc_build_dir):
+    os.makedirs ( B.doc_build_dir )
 
 Help(opts.GenerateHelpText(env))
 
@@ -363,7 +375,8 @@
 thestatlibs, thelibincs = B.setup_staticlibs(env)
 thesyslibs = B.setup_syslibs(env)
 
-env.BlenderProg(B.root_build_dir, "blender", dobj + mainlist + thestatlibs, [], thesyslibs, [B.root_build_dir+'/lib'] + thelibincs, 'blender')
+if 'blender' in B.targets or not env['WITH_BF_NOBLENDER']:
+    env.BlenderProg(B.root_build_dir, "blender", dobj + mainlist + thestatlibs, [], thesyslibs, [B.root_build_dir+'/lib'] + thelibincs, 'blender')
 if env['WITH_BF_PLAYER']:
     playerlist = B.create_blender_liblist(env, 'player')
     env.BlenderProg(B.root_build_dir, "blenderplayer", dobj + playerlist + thestatlibs, [], thesyslibs, [B.root_build_dir+'/lib'] + thelibincs, 'blenderplayer')
@@ -534,6 +547,10 @@
 nsiscmd = env.Command('nsisinstaller', None, nsisaction)
 nsisalias = env.Alias('nsis', nsiscmd)
 
+if 'blender' in B.targets:
+	blenderexe= env.Alias('blender', B.program_list)
+	Depends(blenderexe,installtarget)
+
 if env['WITH_BF_PLAYER']:
     blenderplayer = env.Alias('blenderplayer', B.program_list)
     Depends(blenderplayer,installtarget)
@@ -560,5 +577,6 @@
 # TODO: build stubs and link into blenderplayer
 
 #------------ EPYDOC
-# TODO: run epydoc
+if env['WITH_BF_BPYDOC']:
+    SConscript(['source/blender/python/api2_2x/doc/SConscript'])
 

Modified: branches/harmonic-skeleton/bin/.blender/locale/ar/LC_MESSAGES/blender.mo
===================================================================
(Binary files differ)

Modified: branches/harmonic-skeleton/bin/.blender/locale/bg/LC_MESSAGES/blender.mo
===================================================================
(Binary files differ)

Modified: branches/harmonic-skeleton/bin/.blender/locale/ca/LC_MESSAGES/blender.mo
===================================================================
(Binary files differ)

Modified: branches/harmonic-skeleton/bin/.blender/locale/cs/LC_MESSAGES/blender.mo
===================================================================
(Binary files differ)

Modified: branches/harmonic-skeleton/bin/.blender/locale/de/LC_MESSAGES/blender.mo
===================================================================
(Binary files differ)

Modified: branches/harmonic-skeleton/bin/.blender/locale/el/LC_MESSAGES/blender.mo
===================================================================
(Binary files differ)

Modified: branches/harmonic-skeleton/bin/.blender/locale/es/LC_MESSAGES/blender.mo
===================================================================
(Binary files differ)

Modified: branches/harmonic-skeleton/bin/.blender/locale/fi/LC_MESSAGES/blender.mo
===================================================================
(Binary files differ)

Modified: branches/harmonic-skeleton/bin/.blender/locale/fr/LC_MESSAGES/blender.mo
===================================================================
(Binary files differ)

Modified: branches/harmonic-skeleton/bin/.blender/locale/hr/LC_MESSAGES/blender.mo
===================================================================
(Binary files differ)

Modified: branches/harmonic-skeleton/bin/.blender/locale/it/LC_MESSAGES/blender.mo
===================================================================
(Binary files differ)

Modified: branches/harmonic-skeleton/bin/.blender/locale/ja/LC_MESSAGES/blender.mo
===================================================================
(Binary files differ)

Modified: branches/harmonic-skeleton/bin/.blender/locale/ko/LC_MESSAGES/blender.mo
===================================================================
(Binary files differ)

Modified: branches/harmonic-skeleton/bin/.blender/locale/nl/LC_MESSAGES/blender.mo
===================================================================
(Binary files differ)

Modified: branches/harmonic-skeleton/bin/.blender/locale/pl/LC_MESSAGES/blender.mo
===================================================================
(Binary files differ)

Modified: branches/harmonic-skeleton/bin/.blender/locale/pt_BR/LC_MESSAGES/blender.mo
===================================================================
(Binary files differ)

Modified: branches/harmonic-skeleton/bin/.blender/locale/ro/LC_MESSAGES/blender.mo
===================================================================
(Binary files differ)

Modified: branches/harmonic-skeleton/bin/.blender/locale/ru/LC_MESSAGES/blender.mo
===================================================================
(Binary files differ)

Modified: branches/harmonic-skeleton/bin/.blender/locale/sr/LC_MESSAGES/blender.mo
===================================================================
(Binary files differ)

Modified: branches/harmonic-skeleton/bin/.blender/locale/sr at Latn/LC_MESSAGES/blender.mo
===================================================================
(Binary files differ)

Modified: branches/harmonic-skeleton/bin/.blender/locale/sv/LC_MESSAGES/blender.mo
===================================================================
(Binary files differ)

Modified: branches/harmonic-skeleton/bin/.blender/locale/uk/LC_MESSAGES/blender.mo
===================================================================
(Binary files differ)

Modified: branches/harmonic-skeleton/bin/.blender/locale/zh_CN/LC_MESSAGES/blender.mo
===================================================================
(Binary files differ)

Modified: branches/harmonic-skeleton/config/darwin-config.py
===================================================================
--- branches/harmonic-skeleton/config/darwin-config.py	2008-10-20 00:27:33 UTC (rev 17123)
+++ branches/harmonic-skeleton/config/darwin-config.py	2008-10-20 00:48:10 UTC (rev 17124)
@@ -268,3 +268,4 @@
 
 BF_BUILDDIR='../build/darwin'
 BF_INSTALLDIR='../install/darwin'
+BF_DOCDIR='../install/doc'

Modified: branches/harmonic-skeleton/config/linux2-config.py
===================================================================
--- branches/harmonic-skeleton/config/linux2-config.py	2008-10-20 00:27:33 UTC (rev 17123)
+++ branches/harmonic-skeleton/config/linux2-config.py	2008-10-20 00:48:10 UTC (rev 17124)
@@ -205,6 +205,7 @@
 
 BF_BUILDDIR = '../build/linux2'
 BF_INSTALLDIR='../install/linux2'
+BF_DOCDIR='../install/doc'
 
 
 #Link against pthread

Modified: branches/harmonic-skeleton/config/linuxcross-config.py
===================================================================
--- branches/harmonic-skeleton/config/linuxcross-config.py	2008-10-20 00:27:33 UTC (rev 17123)
+++ branches/harmonic-skeleton/config/linuxcross-config.py	2008-10-20 00:48:10 UTC (rev 17124)
@@ -148,3 +148,4 @@
 
 BF_BUILDDIR = '../build/linuxcross'

@@ Diff output truncated at 10240 characters. @@




More information about the Bf-blender-cvs mailing list