/[escript]/branches/domexper/doc/SConscript
ViewVC logotype

Annotation of /branches/domexper/doc/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1133 - (hide annotations)
Tue May 8 07:19:33 2007 UTC (12 years ago) by gross
Original Path: trunk/doc/SConscript
File size: 1301 byte(s)
Changes needed for windows. This still does not work on and has not run on linux and the altix. 
 
There are a few changes in names in the scons script, in particular _libs is used rather than _lib and _libs is always a list. By default on windows MSVC is used. The location of python is at C:\Program Files\python<version>, boost at C:\Program Files\boost and netcdf at C:\Program Files\netcdf. 

 
1 jgs 485 # Scons configuration file for documentation
2 cochrane 369
3 elspeth 643 # Copyright 2006 by ACcESS MNRF
4     #
5     # http://www.access.edu.au
6     # Primary Business: Queensland, Australia
7     # Licensed under the Open Software License version 3.0
8     # http://www.opensource.org/licenses/osl-3.0.php
9     #
10 cochrane 369 #
11 elspeth 643 #
12 jgs 485 # set appropriate defaults for configuration variables
13 cochrane 369
14 gross 707 import os
15     Import('*')
16 cochrane 369
17 gross 707 local_env=env.Copy()
18 cochrane 369
19 gross 707 # get all the examples:
20     src_dir = local_env.Dir('examples').srcnode().abspath
21     example_files=[]
22     for x in os.listdir(src_dir):
23     if not x.startswith("."):
24     f = "examples/"+x
25     if os.path.isdir(src_dir+'/'+f):
26     example_files+=[ env.File(f+"/"+y) for y in os.listdir(src_dir+'/'+f) if not y.startswith('.')]
27     else:
28     example_files+=[ env.File(f) ]
29     env.Zip(examples_zipfile, example_files)
30 gross 1133 try:
31     env.Tar(examples_tarfile, example_files)
32     except AttributeError:
33     pass
34 elspeth 712 # Call the doc build using SConscript
35 gross 707 local_env.SConscript(dirs = ['#/doc/user'], build_dir='#/build/$PLATFORM/doc/user', duplicate=1)
36 elspeth 712
37     local_env.SConscript(dirs = ['#/doc/epydoc'], build_dir='#/build/$PLATFORM/doc/epydoc', duplicate=1)

  ViewVC Help
Powered by ViewVC 1.1.26