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

Annotation of /trunk/doc/doxygen/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 489 - (hide annotations)
Thu Feb 2 06:27:15 2006 UTC (17 years, 1 month ago) by jgs
File size: 912 byte(s)
fix message file paths
1 cochrane 369 # Scons configuration file for doxygen docs
2    
3     import os
4    
5     #
6     # set appropriate defaults for configuration variables
7    
8 jgs 485 esysroot=str(Dir('../..').abspath)
9     execfile(str(File(esysroot+"/scons/esys_options.py")))
10 cochrane 369
11 jgs 488 #
12     # construct the script to run doxygen
13 cochrane 369
14 jgs 488 rundoxygen_script = open(str(File(esysroot+"/doc/doxygen/rundoxygen")), 'w')
15     rundoxygen_script.write(str("#!/bin/bash\n"))
16 jgs 489 rundoxygen_script.write(str(doxygen_path+"/doxygen doxygen/doxygen_esys > "+esysroot+"/doc/doxygen_msgs.txt 2>&1\n"))
17 jgs 488 rundoxygen_script.close()
18    
19     os.chmod(str(File(esysroot+"/doc/doxygen/rundoxygen")), 0700)
20    
21 cochrane 369 #
22     # do the actual build
23    
24 jgs 488 import scons_extensions
25    
26 cochrane 369 source = 'rundoxygen'
27    
28     doxygen_env = Environment(ENV = os.environ)
29    
30     runDoxygen_builder = Builder(action = scons_extensions.build_doxygen, suffix = ".run", single_source = True)
31     doxygen_env.Append(BUILDERS = {'RunDoxygen' : runDoxygen_builder})
32    
33     Default(doxygen_env.RunDoxygen(source))

  ViewVC Help
Powered by ViewVC 1.1.26