/[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 488 by jgs, Thu Feb 2 06:19:23 2006 UTC revision 1705 by ksteube, Thu Aug 14 05:56:40 2008 UTC
# Line 1  Line 1 
1  # Scons configuration file for doxygen docs  #          Copyright 2006 by ACcESS MNRF                  
2    #                                                          
3    #              http://www.access.edu.au                    
4    #       Primary Business: Queensland, Australia            
5    #  Licensed under the Open Software License version 3.0    
6    #     http://www.opensource.org/licenses/osl-3.0.php      
7    
8  import os  import os
9    Import('*')
10    
11  #  tmp = env.Command(env['prefix']+'/release/doc/doxygen', env['pyinstall'], [Mkdir(env['prefix']+'/release/doc/doxygen'), "doxygen doc/doxygen/doxygen_esys"])
12  # set appropriate defaults for configuration variables  env.Alias('api_doxygen', env['prefix']+'/release/doc/doxygen')
13    
 esysroot=str(Dir('../..').abspath)  
 execfile(str(File(esysroot+"/scons/esys_options.py")))  
   
 #  
 # 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 > doxygen_msgs.txt 2>&1\n"))  
 rundoxygen_script.close()  
   
 os.chmod(str(File(esysroot+"/doc/doxygen/rundoxygen")), 0700)  
   
 #  
 # do the actual build  
   
 import scons_extensions  
   
 source = 'rundoxygen'  
   
 doxygen_env = Environment(ENV = os.environ)  
   
 runDoxygen_builder = Builder(action = scons_extensions.build_doxygen, suffix = ".run", single_source = True)  
 doxygen_env.Append(BUILDERS = {'RunDoxygen' : runDoxygen_builder})  
   
 Default(doxygen_env.RunDoxygen(source))  

Legend:
Removed from v.488  
changed lines
  Added in v.1705

  ViewVC Help
Powered by ViewVC 1.1.26