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

Diff of /trunk/doc/SConscript

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

revision 1214 by gross, Tue May 8 07:19:33 2007 UTC revision 1215 by ksteube, Thu Jul 12 01:14:55 2007 UTC
# Line 16  Import('*') Line 16  Import('*')
16    
17  local_env=env.Copy()  local_env=env.Copy()
18    
19  # get all the examples:  # get all the file names in doc/examples:
20  src_dir = local_env.Dir('examples').srcnode().abspath  src_dir = local_env.Dir('examples').srcnode().abspath
21  example_files=[]  example_files = os.popen("find " + src_dir + " -name .svn -prune -o -type f -print").read().split(None)
22  for x in os.listdir(src_dir):  
    if not x.startswith("."):  
       f = "examples/"+x  
       if os.path.isdir(src_dir+'/'+f):  
          example_files+=[ env.File(f+"/"+y) for y in os.listdir(src_dir+'/'+f) if not y.startswith('.')]  
       else:  
          example_files+=[ env.File(f) ]  
23  env.Zip(examples_zipfile, example_files)  env.Zip(examples_zipfile, example_files)
24  try:  env.Tar(examples_tarfile, example_files)
25    env.Tar(examples_tarfile, example_files)  
 except AttributeError:  
   pass  
26  # Call the doc build using SConscript  # Call the doc build using SConscript
27  local_env.SConscript(dirs = ['#/doc/user'], build_dir='#/build/$PLATFORM/doc/user', duplicate=1)  local_env.SConscript(dirs = ['#/doc/user'], build_dir='#/build/$PLATFORM/doc/user', duplicate=1)
28    
29  local_env.SConscript(dirs = ['#/doc/epydoc'], build_dir='#/build/$PLATFORM/doc/epydoc', duplicate=1)  local_env.SConscript(dirs = ['#/doc/epydoc'], build_dir='#/build/$PLATFORM/doc/epydoc', duplicate=1)
30    local_env.SConscript(dirs = ['#/doc/doxygen'], build_dir='#/build/$PLATFORM/doc/doxygen', duplicate=1)

Legend:
Removed from v.1214  
changed lines
  Added in v.1215

  ViewVC Help
Powered by ViewVC 1.1.26