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

Diff of /trunk/doc/SConscript

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

revision 2973 by artak, Thu Mar 4 03:07:22 2010 UTC revision 3208 by jfenwick, Sun Sep 26 23:31:17 2010 UTC
# Line 97  sortOutExample('cookbook/example04b.py', Line 97  sortOutExample('cookbook/example04b.py',
97  sortOutExample('cookbook/example05a.py', needsGMSH=True, needsGD=True)  sortOutExample('cookbook/example05a.py', needsGMSH=True, needsGD=True)
98  sortOutExample('cookbook/example05b.py', needsGMSH=True, needsGD=True)  sortOutExample('cookbook/example05b.py', needsGMSH=True, needsGD=True)
99  sortOutExample('cookbook/example05c.py', needsGMSH=True, needsGD=True, needsMagicMPL=True)  sortOutExample('cookbook/example05c.py', needsGMSH=True, needsGD=True, needsMagicMPL=True)
100  sortOutExample('cookbook/example06.py', needsGMSH=True, needsGD=True)  sortOutExample('cookbook/example06.py', needsGMSH=True, needsGD=True, needsMagicMPL=True)
101    sortOutExample('cookbook/example07a.py', needsMagicMPL=True, allowsMPI=False)
102    sortOutExample('cookbook/example07b.py', needsMagicMPL=True, allowsMPI=False)
103    sortOutExample('cookbook/example08a.py', needsMagicMPL=True, allowsMPI=False)
104    sortOutExample('cookbook/example08b.py', needsMagicMPL=True, allowsMPI=False)
105    sortOutExample('cookbook/example08c.py', needsMagicMPL=True, needsGMSH=True, allowsMPI=False)
106    #sortOutExample('cookbook/example09m.py', needsMagicMPL=True, needsGMSH=True, allowsMPI=False)
107    #sortOutExample('cookbook/example09a.py', needsMagicMPL=True, needsGMSH=True, allowsMPI=False)
108    #sortOutExample('cookbook/example09b.py', needsMagicMPL=True, needsGMSH=True, allowsMPI=False)
109    
110  example_files= example_files_allow_mpi + example_files_no_mpi + example_deps  example_files= example_files_allow_mpi + example_files_no_mpi + example_deps
111    
# Line 131  env.Alias('examples_tarfile',tmp2) Line 139  env.Alias('examples_tarfile',tmp2)
139  #if 'Tar' in dir(env): env.Tar('#/release/doc/escript_examples.tar.gz', example_files,chdir=src_dir)  #if 'Tar' in dir(env): env.Tar('#/release/doc/escript_examples.tar.gz', example_files,chdir=src_dir)
140  #env.Alias('examples_tarfile', '#release/doc/escript_examples.tar.gz')  #env.Alias('examples_tarfile', '#release/doc/escript_examples.tar.gz')
141    
142  local_env.SConscript(dirs = ['#/doc/cookbook'], build_dir='#/build/$PLATFORM/doc/cookbook', duplicate=1)  CallSConscript(local_env, dirs = ['#/doc/cookbook'], variant_dir='#/build/$PLATFORM/doc/cookbook', duplicate=1)
143  local_env.SConscript(dirs = ['#/doc/user'], build_dir='#/build/$PLATFORM/doc/user', duplicate=1)  CallSConscript(local_env, dirs = ['#/doc/user'], variant_dir='#/build/$PLATFORM/doc/user', duplicate=1)
144  local_env.SConscript(dirs = ['#/doc/epydoc'], build_dir='#/build/$PLATFORM/doc/epydoc', duplicate=1)  CallSConscript(local_env, dirs = ['#/doc/epydoc'], variant_dir='#/build/$PLATFORM/doc/epydoc', duplicate=1)
145  local_env.SConscript(dirs = ['#/doc/doxygen'], build_dir='#/build/$PLATFORM/doc/doxygen', duplicate=1)  CallSConscript(local_env, dirs = ['#/doc/doxygen'], variant_dir='#/build/$PLATFORM/doc/doxygen', duplicate=1)
146  local_env.SConscript(dirs = ['#/doc/install'], build_dir='#/build/$PLATFORM/doc/install', duplicate=1)  CallSConscript(local_env, dirs = ['#/doc/install'], variant_dir='#/build/$PLATFORM/doc/install', duplicate=1)
 local_env.SConscript(dirs = ['#/doc/examples'], build_dir='#/build/$PLATFORM/doc/examples', duplicate=1, exports=[ 'example_files_allow_mpi' , 'example_files_no_mpi', 'example_deps' ])  
147    
148    
149    #For some reason my CallSConscript wrapper fails when you want to use the exports= keyword
150    if cantusevariantdir:
151        local_env.SConscript(dirs = ['#/doc/examples'], build_dir='#/build/$PLATFORM/doc/examples', duplicate=1, exports=[ 'example_files_allow_mpi' , 'example_files_no_mpi', 'example_deps' ])
152    else:
153        local_env.SConscript(dirs = ['#/doc/examples'], variant_dir='#/build/$PLATFORM/doc/examples', duplicate=1, exports=[ 'example_files_allow_mpi' , 'example_files_no_mpi', 'example_deps' ])

Legend:
Removed from v.2973  
changed lines
  Added in v.3208

  ViewVC Help
Powered by ViewVC 1.1.26