[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [11046] branches/soc-2007-maike/SConstruct : GLSL generic function files install
Miguel Torres Lima
torreslima at gmail.com
Mon Jun 25 19:58:37 CEST 2007
Revision: 11046
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=11046
Author: maike
Date: 2007-06-25 19:58:37 +0200 (Mon, 25 Jun 2007)
Log Message:
-----------
GLSL generic function files install
Modified Paths:
--------------
branches/soc-2007-maike/SConstruct
Modified: branches/soc-2007-maike/SConstruct
===================================================================
--- branches/soc-2007-maike/SConstruct 2007-06-25 17:56:21 UTC (rev 11045)
+++ branches/soc-2007-maike/SConstruct 2007-06-25 17:58:37 UTC (rev 11046)
@@ -586,8 +586,20 @@
textinstall = env.Install(dir=env['BF_INSTALLDIR'], source=textlist)
-allinstall = [blenderinstall, dotblenderinstall, scriptinstall, plugininstall, textinstall]
+glsllist = []
+glsltargetlist = []
+for tp, tn, tf in os.walk('release/glsl'):
+ if 'CVS' in tn:
+ tn.remove('CVS')
+ if '.svn' in tn:
+ tn.remove('.svn')
+ for f in tf:
+ glsllist.append(tp+os.sep+f)
+glslinstall = env.Install(dir=env['BF_INSTALLDIR']+'/.blender/glsl', source=glsllist)
+
+allinstall = [blenderinstall, dotblenderinstall, scriptinstall, plugininstall, textinstall, glslinstall]
+
if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw'):
dllsources = ['${LCGDIR}/gettext/lib/gnu_gettext.dll',
'${LCGDIR}/png/lib/libpng.dll',
More information about the Bf-blender-cvs
mailing list