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

Contents of /trunk/doc/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 707 - (show annotations)
Wed Apr 12 23:58:02 2006 UTC (13 years, 2 months ago) by gross
File size: 1158 byte(s)
latex build documentation is working now
1 # Scons configuration file for documentation
2
3 # 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 #
11 #
12 # set appropriate defaults for configuration variables
13
14 import os
15 Import('*')
16
17 local_env=env.Copy()
18
19 # 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 env.Tar(examples_tarfile, example_files)
31
32 # Call the unit tests SConscript
33 local_env.SConscript(dirs = ['#/doc/user'], build_dir='#/build/$PLATFORM/doc/user', duplicate=1)

  ViewVC Help
Powered by ViewVC 1.1.26