/[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 369 by cochrane, Fri Dec 16 00:51:22 2005 UTC temp_trunk_copy/doc/SConscript revision 1384 by phornby, Fri Jan 11 02:29:38 2008 UTC
# Line 1  Line 1 
1  # top-level Scons configuration file for all documentation building  # Scons configuration file for documentation
   
 import os  
2    
3    #          Copyright 2006 by ACcESS MNRF                  
4    #                                                          
5    #              http://www.access.edu.au                    
6    #       Primary Business: Queensland, Australia            
7    #  Licensed under the Open Software License version 3.0    
8    #     http://www.opensource.org/licenses/osl-3.0.php      
9    #                                                          
10  #  #
 # ensure correct versions of python and scons  
   
 EnsurePythonVersion(2,3)  
 EnsureSConsVersion(0,96)  
   
11  #  #
12  # retreive command-line arguments if any  # set appropriate defaults for configuration variables
 # these are passed through to SConscripts  
   
 #  
 # set and export esysroot  
   
 esysroot = Dir('#../')  
13    
14    import os
15  Import('*')  Import('*')
16    
17  Export(["esysroot"])  local_env=env.Copy()
18    
19  #  # get all the file names in doc/examples:
20  # call appropriate SConscripts  src_dir = local_env.Dir('examples').srcnode().abspath
21    example_files = os.popen("find " + src_dir + " -name .svn -prune -o -type f -print").read().split(None)
22    
23  target_scripts = ['doxygen/SConscript',  env.Zip(examples_zipfile, example_files)
24                    'epydoc/SConscript',  env.Tar(examples_tarfile, example_files)
                   'user/SConscript']  
25    
26  target_scripts = ['doxygen/SConscript',  # Call the doc build using SConscript
27                    'epydoc/SConscript']  local_env.SConscript(dirs = ['#/doc/user'], build_dir='#/build/$PLATFORM/doc/user', duplicate=1)
28    
29  SConscript(target_scripts, duplicate=0)  local_env.SConscript(dirs = ['#/doc/epydoc'], build_dir='#/build/$PLATFORM/doc/epydoc', duplicate=1)
30    local_env.SConscript(dirs = ['#/doc/doxygen'], build_dir='#/build/$PLATFORM/doc/doxygen', duplicate=1)

Legend:
Removed from v.369  
changed lines
  Added in v.1384

  ViewVC Help
Powered by ViewVC 1.1.26