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

Annotation of /trunk/doc/epydoc/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


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

1 cochrane 369 # Scons configuration file for epydoc 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 = 'runepydoc'
33    
34     epydoc_env = Environment(ENV = os.environ)
35    
36     import scons_extensions
37     runEpydoc_builder = Builder(action = scons_extensions.build_epydoc, suffix = ".run")
38     epydoc_env.Append(BUILDERS = {'RunEpydoc' : runEpydoc_builder})
39    
40     Default(epydoc_env.RunEpydoc(source))

  ViewVC Help
Powered by ViewVC 1.1.26