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

Diff of /trunk/doc/doxygen/SConscript

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

revision 498 by jgs, Tue Feb 7 01:53:47 2006 UTC revision 1215 by ksteube, Thu Jul 12 01:14:55 2007 UTC
# Line 1  Line 1 
1  # Scons configuration file for doxygen docs  # Scons configuration file for doxygen C and C++ docs
   
 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  #  #
 # set appropriate defaults for configuration variables  
   
 esysroot=str(Dir('../..').abspath)  
 execfile(str(File(esysroot+"/scons/esys_options.py")))  
   
11  #  #
 # construct the script to run doxygen  
   
 rundoxygen_script = open(str(File(esysroot+"/doc/doxygen/rundoxygen")), 'w')  
 rundoxygen_script.write(str("#!/bin/bash\n"))  
 rundoxygen_script.write(str(doxygen_path+"/doxygen doxygen/doxygen_esys > "+esysroot+"/doc/doxygen_msgs.txt 2>&1\n"))  
 rundoxygen_script.close()  
   
 os.chmod(str(File(esysroot+"/doc/doxygen/rundoxygen")), 0700)  
12    
13  #  import os
14  # do the actual build  Import('*')
   
 import scons_extensions  
   
 source = 'rundoxygen'  
   
 doxygen_env = Environment(ENV = os.environ)  
15    
16  runDoxygen_builder = Builder(action = scons_extensions.build_doxygen, suffix = ".run", single_source = True)  env.Command(api_doxygen, pyinstall, doxygen_path + "/doxygen doc/doxygen/doxygen_esys")
 doxygen_env.Append(BUILDERS = {'RunDoxygen' : runDoxygen_builder})  
17    
 Alias("build_docs", doxygen_env.RunDoxygen(source))  
 Default()  

Legend:
Removed from v.498  
changed lines
  Added in v.1215

  ViewVC Help
Powered by ViewVC 1.1.26