/[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 2647 by jfenwick, Thu Aug 27 05:26:42 2009 UTC revision 2648 by jfenwick, Mon Sep 7 00:06:15 2009 UTC
# Line 14  Line 14 
14    
15  import os  import os
16  Import('*')  Import('*')
17    
18    example_deps = ['cookbook/cblib.py']
19    
20  #  #
21  # these are the release examples in example sub directory:  # these are the release examples in example sub directory:
22  #  #
# Line 38  example_files_no_mpi = [ Line 41  example_files_no_mpi = [
41    
42  #Now we add tests which depend on matplotlib  #Now we add tests which depend on matplotlib
43  try:  try:
44     import matplotlib     from matplotlib.mlab import griddata
45     example_files_no_mpi.append('usersguide/poisson_matplotlib.py')     example_files_no_mpi.append('usersguide/poisson_matplotlib.py')
46     example_files_allow_mpi.append('usersguide/wave.py')     example_files_allow_mpi.append('usersguide/wave.py')
47     #example_files_no_mpi.append('cookbook/heatrefraction_mesher001.py')  #   example_deps.append('cookbook/heatrefraction_mesher001.py')
48     #example_files_no_mpi.append('cookbook/heatrefraction_mesher002.py')  #   example_deps.append('cookbook/heatrefraction_mesher002.py')
49     #example_files_no_mpi.append('cookbook/heatrefraction001.py')  #   example_deps.append('cookbook/heatrefraction001.py')
50     #example_files_no_mpi.append('cookbook/heatrefraction002.py')  #   example_deps.append('cookbook/heatrefraction002.py')
51     #example_files_no_mpi.append('cookbook/onedheatdiff001.py')  #   example_files_no_mpi.append('cookbook/onedheatdiff001.py')
52     #example_files_no_mpi.append('cookbook/onedheatdiff002.py')  #   example_files_no_mpi.append('cookbook/onedheatdiff002.py')
53     #example_files_no_mpi.append('cookbook/twodheatdiff.py')  #   example_files_no_mpi.append('cookbook/twodheatdiff.py')
54       import os
55       if os.system("gmsh -version")/256 ==0:   #gmsh found on this system
56    #   example_files_no_mpi.append('cookbook/test_heatref.py')
57        pass
58       else:
59        print "gmsh not found skipping examples"
60  except ImportError:  except ImportError:
61     print "matplotlib not found - skipping example"     print "matplotlib not found - skipping example"
62    
63  example_files= example_files_allow_mpi + example_files_no_mpi  example_files= example_files_allow_mpi + example_files_no_mpi + example_deps
64    
65    
66  ex2=[ os.path.join("examples",str(x)) for x in example_files]  ex2=[ os.path.join("examples",str(x)) for x in example_files]
# Line 81  local_env.SConscript(dirs = ['#/doc/user Line 90  local_env.SConscript(dirs = ['#/doc/user
90  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)
91  local_env.SConscript(dirs = ['#/doc/doxygen'], build_dir='#/build/$PLATFORM/doc/doxygen', duplicate=1)  local_env.SConscript(dirs = ['#/doc/doxygen'], build_dir='#/build/$PLATFORM/doc/doxygen', duplicate=1)
92  local_env.SConscript(dirs = ['#/doc/install'], build_dir='#/build/$PLATFORM/doc/install', duplicate=1)  local_env.SConscript(dirs = ['#/doc/install'], build_dir='#/build/$PLATFORM/doc/install', duplicate=1)
93  local_env.SConscript(dirs = ['#/doc/examples'], build_dir='#/build/$PLATFORM/doc/examples', duplicate=1, exports=[ 'example_files_allow_mpi' , 'example_files_no_mpi' ])  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' ])
94    
95    

Legend:
Removed from v.2647  
changed lines
  Added in v.2648

  ViewVC Help
Powered by ViewVC 1.1.26