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

Diff of /trunk/doc/SConscript

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

revision 2090 by ksteube, Thu Sep 25 23:11:13 2008 UTC revision 2091 by ksteube, Tue Nov 25 03:26:51 2008 UTC
# Line 21  local_env = clone_env(env) Line 21  local_env = clone_env(env)
21  src_dir = local_env.Dir('examples').srcnode().abspath  src_dir = local_env.Dir('examples').srcnode().abspath
22  example_files = os.popen("find " + src_dir + " -name .svn -prune -o -type f -print").read().split(None)  example_files = os.popen("find " + src_dir + " -name .svn -prune -o -type f -print").read().split(None)
23    
24  if 'Zip' in dir(env): env.Zip('#release/doc/escript_examples.zip', example_files)  tmp1 = env.Command("release/doc/escript_examples.zip", None, "zip release/doc/escript_examples.zip "+" ".join(example_files))
25  env.Alias('examples_zipfile', '#release/doc/escript_examples.zip')  env.Alias('examples_zipfile', tmp1)
26    
27  env=Environment(TARFLAGS = '-c -z')  env=Environment(TARFLAGS = '-c -z')
28  if 'Tar' in dir(env): env.Tar('#release/doc/escript_examples.tar.gz', example_files)  if 'Tar' in dir(env): env.Tar('#release/doc/escript_examples.tar.gz', example_files)

Legend:
Removed from v.2090  
changed lines
  Added in v.2091

  ViewVC Help
Powered by ViewVC 1.1.26