/[escript]/branches/arrexp_2137_win/doc/epydoc/SConscript
ViewVC logotype

Contents of /branches/arrexp_2137_win/doc/epydoc/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 489 - (show annotations)
Thu Feb 2 06:27:15 2006 UTC (13 years, 2 months ago) by jgs
Original Path: trunk/doc/epydoc/SConscript
File size: 976 byte(s)
fix message file paths
1 # Scons configuration file for epydoc docs
2
3 import os
4
5 #
6 # set appropriate defaults for configuration variables
7
8 esysroot=str(Dir('../..').abspath)
9 execfile(str(File(esysroot+"/scons/esys_options.py")))
10
11 #
12 # construct the script to run epydoc
13
14 runepydoc_script = open(str(File(esysroot+"/doc/epydoc/runepydoc")), 'w')
15 runepydoc_script.write(str("#!/bin/bash\n"))
16 runepydoc_script.write(str("export PYTHONPATH="+epydoc_pythonpath+"\n"))
17 runepydoc_script.write(str(epydoc_path+"/epydoc --html -o "+esysroot+"/doc/lib/html/epydoc -n esys esys > "+esysroot+"/doc/epydoc_msgs.txt 2>&1\n"))
18 runepydoc_script.close()
19
20 os.chmod(str(File(esysroot+"/doc/epydoc/runepydoc")), 0700)
21
22 #
23 # do the actual build
24
25 import scons_extensions
26
27 source = 'runepydoc'
28
29 epydoc_env = Environment(ENV = os.environ)
30
31 runEpydoc_builder = Builder(action = scons_extensions.build_epydoc, suffix = ".run")
32 epydoc_env.Append(BUILDERS = {'RunEpydoc' : runEpydoc_builder})
33
34 Default(epydoc_env.RunEpydoc(source))

  ViewVC Help
Powered by ViewVC 1.1.26