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

Diff of /branches/domexper/doc/SConscript

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

trunk/doc/SConstruct revision 643 by elspeth, Fri Mar 24 00:28:41 2006 UTC trunk/doc/SConscript revision 707 by gross, Wed Apr 12 23:58:02 2006 UTC
# Line 11  Line 11 
11  #  #
12  # set appropriate defaults for configuration variables  # set appropriate defaults for configuration variables
13    
14  esysroot=str(Dir('..').abspath)  import os
15  execfile(str(File(esysroot+"/scons/esys_options.py")))  Import('*')
16    
17  #  local_env=env.Copy()
 # call appropriate SConscripts  
18    
19  target_scripts = ['doxygen/SConscript',  # get all the examples:
20                    'epydoc/SConscript']  src_dir = local_env.Dir('examples').srcnode().abspath
21    example_files=[]
22    for x in os.listdir(src_dir):
23       if not x.startswith("."):
24          f = "examples/"+x
25          if os.path.isdir(src_dir+'/'+f):
26             example_files+=[ env.File(f+"/"+y) for y in os.listdir(src_dir+'/'+f) if not y.startswith('.')]
27          else:
28             example_files+=[ env.File(f) ]
29    env.Zip(examples_zipfile, example_files)
30    env.Tar(examples_tarfile, example_files)
31    
32  SConscript(target_scripts, duplicate=0)  # Call the unit tests SConscript
33    local_env.SConscript(dirs = ['#/doc/user'], build_dir='#/build/$PLATFORM/doc/user', duplicate=1)

Legend:
Removed from v.643  
changed lines
  Added in v.707

  ViewVC Help
Powered by ViewVC 1.1.26