/[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 369 by cochrane, Fri Dec 16 00:51:22 2005 UTC revision 488 by jgs, Thu Feb 2 06:19:23 2006 UTC
# Line 1  Line 1 
1  # Scons configuration file for doxygen docs  # Scons configuration file for doxygen docs
2    
3  import os  import os
 import sys  
   
 #  
 # ensure correct versions of python and scons  
   
 EnsurePythonVersion(2,3)  
 EnsureSConsVersion(0,96)  
4    
5  #  #
6  # set appropriate defaults for configuration variables  # set appropriate defaults for configuration variables
7    
8  esysroot = Dir('#../..')  esysroot=str(Dir('../..').abspath)
9    execfile(str(File(esysroot+"/scons/esys_options.py")))
10    
11  #  #
12  # import configuration variables passed in from  # construct the script to run doxygen
 # calling SConscript (if any)  
   
 Import('*')  
13    
14  #  rundoxygen_script = open(str(File(esysroot+"/doc/doxygen/rundoxygen")), 'w')
15  # load configuration settings  rundoxygen_script.write(str("#!/bin/bash\n"))
16    rundoxygen_script.write(str(doxygen_path+"/doxygen doxygen/doxygen_esys > doxygen_msgs.txt 2>&1\n"))
17    rundoxygen_script.close()
18    
19  options_dir = str(esysroot) + '/scons'  os.chmod(str(File(esysroot+"/doc/doxygen/rundoxygen")), 0700)
 sys.path.append(options_dir)  
20    
21  #  #
22  # do the actual build  # do the actual build
23    
24    import scons_extensions
25    
26  source = 'rundoxygen'  source = 'rundoxygen'
27    
28  doxygen_env = Environment(ENV = os.environ)  doxygen_env = Environment(ENV = os.environ)
29    
 import scons_extensions  
30  runDoxygen_builder = Builder(action = scons_extensions.build_doxygen, suffix = ".run", single_source = True)  runDoxygen_builder = Builder(action = scons_extensions.build_doxygen, suffix = ".run", single_source = True)
31  doxygen_env.Append(BUILDERS = {'RunDoxygen' : runDoxygen_builder})  doxygen_env.Append(BUILDERS = {'RunDoxygen' : runDoxygen_builder})
32    

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

  ViewVC Help
Powered by ViewVC 1.1.26