/[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 485 by jgs, Thu Feb 2 04:21:02 2006 UTC revision 498 by jgs, Tue Feb 7 01:53:47 2006 UTC
# Line 8  import os Line 8  import os
8  esysroot=str(Dir('../..').abspath)  esysroot=str(Dir('../..').abspath)
9  execfile(str(File(esysroot+"/scons/esys_options.py")))  execfile(str(File(esysroot+"/scons/esys_options.py")))
10    
11  import scons_extensions  #
12    # construct the script to run doxygen
13    
14    rundoxygen_script = open(str(File(esysroot+"/doc/doxygen/rundoxygen")), 'w')
15    rundoxygen_script.write(str("#!/bin/bash\n"))
16    rundoxygen_script.write(str(doxygen_path+"/doxygen doxygen/doxygen_esys > "+esysroot+"/doc/doxygen_msgs.txt 2>&1\n"))
17    rundoxygen_script.close()
18    
19    os.chmod(str(File(esysroot+"/doc/doxygen/rundoxygen")), 0700)
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)
# Line 20  doxygen_env = Environment(ENV = os.envir Line 30  doxygen_env = Environment(ENV = os.envir
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    
33  Default(doxygen_env.RunDoxygen(source))  Alias("build_docs", doxygen_env.RunDoxygen(source))
34    Default()

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

  ViewVC Help
Powered by ViewVC 1.1.26