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

Diff of /trunk/doc/epydoc/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 488 by jgs, Thu Feb 2 06:19:23 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 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 > 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  # do the actual build
24    
25    import scons_extensions
26    
27  source = 'runepydoc'  source = 'runepydoc'
28    
29  epydoc_env = Environment(ENV = os.environ)  epydoc_env = Environment(ENV = os.environ)

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

  ViewVC Help
Powered by ViewVC 1.1.26