/[escript]/branches/domexper/doc/SConscript
ViewVC logotype

Diff of /branches/domexper/doc/SConscript

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

revision 2484 by gross, Mon Jun 22 04:22:19 2009 UTC revision 2486 by gross, Tue Jun 23 03:38:54 2009 UTC
# Line 25  outputdir=local_env.Dir('#/release/doc/' Line 25  outputdir=local_env.Dir('#/release/doc/'
25    
26  os.chdir(src_dir)  os.chdir(src_dir)
27  example_files = os.popen("find examples -name .svn -prune -o -type f -print").read().split(None)  example_files = os.popen("find examples -name .svn -prune -o -type f -print").read().split(None)
 print example_files  
28  os.chdir(cur_dir)  os.chdir(cur_dir)
29    # extract all the example files:
30    # test_location=local_env.Dir('#/build/$PLATFORM/doc/examples')
31    # Command(src_dir,  test_location, Copy("tempfile", "$SOURCE"))
32    # to_be_tested=[]
33    # for i in example_files:
34    #     if i.endswith(".py"): to_be_tested.append(i)
35    # print to_be_tested
36    
37  tmp1 = env.Command("#/release/doc/escript_examples.zip", None,  tmp1 = env.Command("#/release/doc/escript_examples.zip", None,
38  "zip "+os.path.join(outputdir,"escript_examples.zip ") +" ".join(example_files),chdir=src_dir)  "zip "+os.path.join(outputdir,"escript_examples.zip ") +" ".join(example_files),chdir=src_dir)

Legend:
Removed from v.2484  
changed lines
  Added in v.2486

  ViewVC Help
Powered by ViewVC 1.1.26