/[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 2502 by gross, Tue Jun 30 05:49:22 2009 UTC revision 2548 by jfenwick, Mon Jul 20 06:20:06 2009 UTC
# Line 1  Line 1 
1    
2  ########################################################  ########################################################
3  #  #
4  # Copyright (c) 2003-2008 by University of Queensland  # Copyright (c) 2003-2009 by University of Queensland
5  # Earth Systems Science Computational Center (ESSCC)  # Earth Systems Science Computational Center (ESSCC)
6  # http://www.uq.edu.au/esscc  # http://www.uq.edu.au/esscc
7  #  #
# Line 33  example_files_allow_mpi = [ Line 33  example_files_allow_mpi = [
33   'usersguide/diffusion.py',   'usersguide/diffusion.py',
34  ]  ]
35    
36  example_files_no_mpi = [  example_files_no_mpi = []
  'pyvisi/poisson_with_pyvisi.py',  
  'pyvisi/streamline.py',  
  'pyvisi/legend.py',  
  'pyvisi/data_sample_images/image.jpg',  
  'pyvisi/data_sample_images/wave00.jpg',  
  'pyvisi/data_sample_images/seriesofcuts04.jpg',  
  'pyvisi/data_sample_images/movie000943.jpg',  
  'pyvisi/data_sample_images/seriesofreads0102.jpg',  
  'pyvisi/data_sample_images/text.jpg',  
  'pyvisi/data_sample_images/map.jpg',  
  'pyvisi/data_sample_images/seriesofcuts02.jpg',  
  'pyvisi/data_sample_images/diffusion02.jpg',  
  'pyvisi/data_sample_images/movie000941.jpg',  
  'pyvisi/data_sample_images/rectangle.jpg',  
  'pyvisi/data_sample_images/seriesofreads0103.jpg',  
  'pyvisi/data_sample_images/movie000940.jpg',  
  'pyvisi/data_sample_images/diffusion04.jpg',  
  'pyvisi/data_sample_images/legend.jpg',  
  'pyvisi/data_sample_images/carpet.jpg',  
  'pyvisi/data_sample_images/diffusion01.jpg',  
  'pyvisi/data_sample_images/poisson.jpg',  
  'pyvisi/data_sample_images/diffusion03.jpg',  
  'pyvisi/data_sample_images/velocity.jpg',  
  'pyvisi/data_sample_images/movie000946.jpg',  
  'pyvisi/data_sample_images/movie000945.jpg',  
  'pyvisi/data_sample_images/all.jpg',  
  'pyvisi/data_sample_images/movie000942.jpg',  
  'pyvisi/data_sample_images/seriesofcuts03.jpg',  
  'pyvisi/data_sample_images/streamline.jpg',  
  'pyvisi/data_sample_images/seriesofcuts01.jpg',  
  'pyvisi/data_sample_images/wave02.jpg',  
  'pyvisi/data_sample_images/ellipsoid.jpg',  
  'pyvisi/data_sample_images/seriesofreads0100.jpg',  
  'pyvisi/data_sample_images/seriesofreads0099.jpg',  
  'pyvisi/data_sample_images/movie.mpg',  
  'pyvisi/data_sample_images/movie000947.jpg',  
  'pyvisi/data_sample_images/logo.jpg',  
  'pyvisi/data_sample_images/heatedblock.jpg',  
  'pyvisi/data_sample_images/contour.jpg',  
  'pyvisi/data_sample_images/seriesofreads0101.jpg',  
  'pyvisi/data_sample_images/movie000948.jpg',  
  'pyvisi/data_sample_images/maponscalarclipwithrotation.jpg',  
  'pyvisi/data_sample_images/movie000938.jpg',  
  'pyvisi/data_sample_images/movie000944.jpg',  
  'pyvisi/data_sample_images/wave01.jpg',  
  'pyvisi/data_sample_images/movie000939.jpg',  
  'pyvisi/data_sample_images/helmholtz.jpg',  
  'pyvisi/data_sample_images/seriesofcuts00.jpg',  
  'pyvisi/text.py',  
  'pyvisi/wave_with_pyvisi.py',  
  'pyvisi/data_meshes/tempvel-000942.vtu',  
  'pyvisi/data_meshes/tempvel-000943.vtu',  
  'pyvisi/data_meshes/interior_3D.xml',  
  'pyvisi/data_meshes/tempvel-000947.vtu',  
  'pyvisi/data_meshes/without_st.0700.xml',  
  'pyvisi/data_meshes/tempvel-000940.vtu',  
  'pyvisi/data_meshes/access_logo.jpg',  
  'pyvisi/data_meshes/phi_talus_lava.0101.vtu',  
  'pyvisi/data_meshes/phi_talus_lava.0099.vtu',  
  'pyvisi/data_meshes/tempvel-000945.vtu',  
  'pyvisi/data_meshes/tempvel-000944.vtu',  
  'pyvisi/data_meshes/phi_talus_lava.0103.vtu',  
  'pyvisi/data_meshes/tempvel-000938.vtu',  
  'pyvisi/data_meshes/flinders.jpg',  
  'pyvisi/data_meshes/phi_talus_lava.0102.vtu',  
  'pyvisi/data_meshes/tempvel-000941.vtu',  
  'pyvisi/data_meshes/phi_talus_lava.0100.vtu',  
  'pyvisi/data_meshes/tempvel-000946.vtu',  
  'pyvisi/data_meshes/tempvel-000948.vtu',  
  'pyvisi/data_meshes/tempvel-000939.vtu',  
  'pyvisi/helmholtz_with_pyvisi.py',  
  'pyvisi/all.py',  
  'pyvisi/map.py',  
  'pyvisi/offscreen.py',  
  'pyvisi/logo.py',  
  'pyvisi/rectangle.py',  
  'pyvisi/diffusion_with_pyvisi.py',  
  'pyvisi/heatedblock_with_pyvisi.py',  
  'pyvisi/movie.py',  
  'pyvisi/seriesofcuts.py',  
  'pyvisi/velocityonplanecut.py',  
  'pyvisi/ellipsoidonplaneclip.py',  
  'pyvisi/maponscalarclipwithrotation.py',  
  'pyvisi/seriesofreads.py',  
  'pyvisi/contour.py',  
  'pyvisi/carpet.py',  
  'pyvisi/image.py'  
 ]  
37    
38  example_files= example_files_allow_mpi + example_files_no_mpi  example_files= example_files_allow_mpi + example_files_no_mpi
39    
40    
41    ex2=[ os.path.join("examples",str(x)) for x in example_files]
42    
43  #==========================================================================================  #==========================================================================================
44    
45  local_env = clone_env(env)  local_env = clone_env(env)
# Line 132  src_dir = local_env.Dir('.').srcnode().a Line 47  src_dir = local_env.Dir('.').srcnode().a
47  release_dir=local_env.Dir('#/release/doc/').srcnode().abspath  release_dir=local_env.Dir('#/release/doc/').srcnode().abspath
48    
49  tmp1 = env.Command("#/release/doc/escript_examples.zip", None,  tmp1 = env.Command("#/release/doc/escript_examples.zip", None,
50  "zip "+os.path.join(release_dir,"escript_examples.zip ") +" ".join(example_files),chdir=src_dir)  "zip "+os.path.join(release_dir,"escript_examples.zip ") +" ".join(ex2),chdir=src_dir)
51  env.Alias('examples_zipfile', tmp1)  env.Alias('examples_zipfile', tmp1)
52    
53    
54  #Need to use explicit tar rather than the tar builder due to problems getting it not to put  #Need to use explicit tar rather than the tar builder due to problems getting it not to put
55  #unwanted path components in the tar file  #unwanted path components in the tar file
56  #--transform on tar is not supported on savanna  #--transform on tar is not supported on savanna
57  tmp2 = env.Command("#/release/doc/escript_examples.tar.gz", None, "tar -czf "+os.path.join(release_dir,"escript_examples.tar.gz ")+"  ".join(example_files), chdir=src_dir)  tmp2 = env.Command("#/release/doc/escript_examples.tar.gz", None, "tar -czf "+os.path.join(release_dir,"escript_examples.tar.gz ")+"  ".join(ex2), chdir=src_dir)
58  env.Alias('examples_tarfile',tmp2)  env.Alias('examples_tarfile',tmp2)
59    
60  #env=Environment(TARFLAGS = "-c -z",chdir=src_dir)  #env=Environment(TARFLAGS = "-c -z",chdir=src_dir)

Legend:
Removed from v.2502  
changed lines
  Added in v.2548

  ViewVC Help
Powered by ViewVC 1.1.26