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

Contents of /trunk/doc/doxygen/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 369 - (show annotations)
Fri Dec 16 00:51:22 2005 UTC (17 years, 3 months ago) by cochrane
File size: 781 byte(s)
Building of API documentation now works.  Both epydoc- and doxygen-generated
docs are built.

1 # Scons configuration file for doxygen docs
2
3 import os
4 import sys
5
6 #
7 # ensure correct versions of python and scons
8
9 EnsurePythonVersion(2,3)
10 EnsureSConsVersion(0,96)
11
12 #
13 # set appropriate defaults for configuration variables
14
15 esysroot = Dir('#../..')
16
17 #
18 # import configuration variables passed in from
19 # calling SConscript (if any)
20
21 Import('*')
22
23 #
24 # load configuration settings
25
26 options_dir = str(esysroot) + '/scons'
27 sys.path.append(options_dir)
28
29 #
30 # do the actual build
31
32 source = 'rundoxygen'
33
34 doxygen_env = Environment(ENV = os.environ)
35
36 import scons_extensions
37 runDoxygen_builder = Builder(action = scons_extensions.build_doxygen, suffix = ".run", single_source = True)
38 doxygen_env.Append(BUILDERS = {'RunDoxygen' : runDoxygen_builder})
39
40 Default(doxygen_env.RunDoxygen(source))

  ViewVC Help
Powered by ViewVC 1.1.26