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

Diff of /trunk/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 1811 by ksteube, Thu Sep 25 23:11:13 2008 UTC
# Line 1  Line 1 
 # Scons configuration file for documentation  
1    
2  #          Copyright 2006 by ACcESS MNRF                    ########################################################
 #                                                            
 #              http://www.access.edu.au                      
 #       Primary Business: Queensland, Australia              
 #  Licensed under the Open Software License version 3.0      
 #     http://www.opensource.org/licenses/osl-3.0.php        
 #                                                            
3  #  #
4    # Copyright (c) 2003-2008 by University of Queensland
5    # Earth Systems Science Computational Center (ESSCC)
6    # http://www.uq.edu.au/esscc
7  #  #
8  # set appropriate defaults for configuration variables  # Primary Business: Queensland, Australia
9    # Licensed under the Open Software License version 3.0
10    # http://www.opensource.org/licenses/osl-3.0.php
11    #
12    ########################################################
13    
 esysroot=str(Dir('..').abspath)  
 execfile(str(File(esysroot+"/scons/esys_options.py")))  
14    
15  #  import os
16  # call appropriate SConscripts  Import('*')
17    
18    local_env = clone_env(env)
19    
20    # get all the file names in doc/examples:
21    src_dir = local_env.Dir('examples').srcnode().abspath
22    example_files = os.popen("find " + src_dir + " -name .svn -prune -o -type f -print").read().split(None)
23    
24    if 'Zip' in dir(env): env.Zip('#release/doc/escript_examples.zip', example_files)
25    env.Alias('examples_zipfile', '#release/doc/escript_examples.zip')
26    
27    env=Environment(TARFLAGS = '-c -z')
28    if 'Tar' in dir(env): env.Tar('#release/doc/escript_examples.tar.gz', example_files)
29    env.Alias('examples_tarfile', '#release/doc/escript_examples.tar.gz')
30    
31  target_scripts = ['doxygen/SConscript',  local_env.SConscript(dirs = ['#/doc/user'], build_dir='#/build/$PLATFORM/doc/user', duplicate=1)
32                    'epydoc/SConscript']  local_env.SConscript(dirs = ['#/doc/epydoc'], build_dir='#/build/$PLATFORM/doc/epydoc', duplicate=1)
33    local_env.SConscript(dirs = ['#/doc/doxygen'], build_dir='#/build/$PLATFORM/doc/doxygen', duplicate=1)
34    
 SConscript(target_scripts, duplicate=0)  

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

  ViewVC Help
Powered by ViewVC 1.1.26