/[escript]/trunk/doc/SConscript
ViewVC logotype

Diff of /trunk/doc/SConscript

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

revision 2906 by gross, Tue Feb 2 05:26:03 2010 UTC revision 2923 by jfenwick, Thu Feb 4 04:05:36 2010 UTC
# Line 125  local_env = clone_env(env) Line 125  local_env = clone_env(env)
125  src_dir = local_env.Dir('.').srcnode().abspath  src_dir = local_env.Dir('.').srcnode().abspath
126  release_dir=local_env.Dir('#/release/doc/').srcnode().abspath  release_dir=local_env.Dir('#/release/doc/').srcnode().abspath
127    
128  tmp1 = env.Command("#/release/doc/escript_examples.zip", None,  dir_cmd = "cd "+src_dir+" && "
129  "zip "+os.path.join(release_dir,"escript_examples.zip ") +" ".join(ex2),chdir=src_dir)  
130    tmp1 = local_env.Command("#/release/doc/escript_examples.zip", None,
131    dir_cmd+"zip "+os.path.join(release_dir,"escript_examples.zip ") +" ".join(ex2),
132    #chdir=src_dir
133    )
134  env.Alias('examples_zipfile', tmp1)  env.Alias('examples_zipfile', tmp1)
135    
136    
137  #Need to use explicit tar rather than the tar builder due to problems getting it not to put  #Need to use explicit tar rather than the tar builder due to problems getting it not to put
138  #unwanted path components in the tar file  #unwanted path components in the tar file
139  #--transform on tar is not supported on savanna  #--transform on tar is not supported on savanna
140  tmp2 = env.Command("#/release/doc/escript_examples.tar.gz", None, "tar -czf "+os.path.join(release_dir,"escript_examples.tar.gz ")+"  ".join(ex2), chdir=src_dir)  tmp2 = local_env.Command("#/release/doc/escript_examples.tar.gz", None, dir_cmd+"tar -czf "+os.path.join(release_dir,"escript_examples.tar.gz ")+"  ".join(ex2),
141    # chdir=src_dir
142    )
143  env.Alias('examples_tarfile',tmp2)  env.Alias('examples_tarfile',tmp2)
144    
145  #env=Environment(TARFLAGS = "-c -z",chdir=src_dir)  #env=Environment(TARFLAGS = "-c -z",chdir=src_dir)

Legend:
Removed from v.2906  
changed lines
  Added in v.2923

  ViewVC Help
Powered by ViewVC 1.1.26