/[ascend]/trunk/tcltk/generic/interface/SConscript
ViewVC logotype

Diff of /trunk/tcltk/generic/interface/SConscript

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1436 by jpye, Mon May 21 09:39:28 2007 UTC revision 1437 by jpye, Mon May 21 10:05:00 2007 UTC
# Line 69  else: Line 69  else:
69    
70          import glob          import glob
71    
72          tkdir = Dir(env.subst("$INSTALL_ROOT$INSTALL_ASCDATA/tcltk"))          tkdir = "$INSTALL_ROOT$INSTALL_ASCDATA/tcltk"
73    
74          import os          import os
75          import os.path          import os.path
# Line 81  else: Line 81  else:
81    
82          for root, dirs, files in os.walk("."):          for root, dirs, files in os.walk("."):
83              #print root, "..."              #print root, "..."
84              dest = os.path.normpath(os.path.join(env.subst(tkdir),root))              dest = Dir(env.subst(tkdir)+"/"+root)
85              for name in files:              for name in files:
86                  env.InstallShared(env.subst(dest),"#tcltk/TK/"+os.path.join(root, name))                  env.InstallShared(dest,"#tcltk/TK/"+os.path.join(root, name))
87                  #print dest,"<---",os.path.join(root, name)                  #print dest,"<---",os.path.join(root, name)
88    
89              if 'CVS' in dirs:              if 'CVS' in dirs:

Legend:
Removed from v.1436  
changed lines
  Added in v.1437

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22