/[ascend]/trunk/SConstruct
ViewVC logotype

Diff of /trunk/SConstruct

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

revision 2140 by jpye, Sun Dec 20 08:22:49 2009 UTC revision 2141 by jpye, Sun Dec 20 13:51:53 2009 UTC
# Line 2904  if env.get('CAN_INSTALL'): Line 2904  if env.get('CAN_INSTALL'):
2904    
2905          # GTK libraries and related files          # GTK libraries and related files
2906          gtkfiles = []          gtkfiles = []
2907          gtksource = "dist/gtk.bundle/"          gtksource = "dist/PyGTK.bundle/"
2908          def visit(gtkfiles,dirname,fnames):          def visit(gtkfiles,dirname,fnames):
2909              gtkfiles += Glob("%s/*" % dirname)              gtkfiles += Glob("%s/*" % dirname)
2910          os.path.walk(gtksource,visit,gtkfiles)          os.path.walk(gtksource,visit,gtkfiles)
# Line 2914  if env.get('CAN_INSTALL'): Line 2914  if env.get('CAN_INSTALL'):
2914          for f in gtkfiles:          for f in gtkfiles:
2915              r = os.path.commonprefix([gtksource,f.path])              r = os.path.commonprefix([gtksource,f.path])
2916              dirname,filename = os.path.split(f.path[len(r):])              dirname,filename = os.path.split(f.path[len(r):])
2917              dest = os.path.join(env.subst("$INSTALL_ROOT$INSTALL_BIN/gtk.bundle"),dirname)              dest = os.path.join(env.subst("$INSTALL_ROOT$INSTALL_BIN/PyGTK.bundle"),dirname)
2918              print "%s --> %s" %(f,dest)              print "%s --> %s" %(f,dest)
2919              env.Install(Dir(dest),f)              env.Install(Dir(dest),f)
2920    

Legend:
Removed from v.2140  
changed lines
  Added in v.2141

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