1 |
cochrane |
369 |
# top-level Scons configuration file for all documentation building |
2 |
|
|
|
3 |
|
|
import os |
4 |
|
|
|
5 |
|
|
# |
6 |
|
|
# ensure correct versions of python and scons |
7 |
|
|
|
8 |
|
|
EnsurePythonVersion(2,3) |
9 |
|
|
EnsureSConsVersion(0,96) |
10 |
|
|
|
11 |
|
|
# |
12 |
|
|
# retreive command-line arguments if any |
13 |
|
|
# these are passed through to SConscripts |
14 |
|
|
|
15 |
|
|
# |
16 |
|
|
# set and export esysroot |
17 |
|
|
|
18 |
|
|
esysroot = Dir('#../') |
19 |
|
|
|
20 |
|
|
Import('*') |
21 |
|
|
|
22 |
|
|
Export(["esysroot"]) |
23 |
|
|
|
24 |
|
|
# |
25 |
|
|
# call appropriate SConscripts |
26 |
|
|
|
27 |
|
|
target_scripts = ['doxygen/SConscript', |
28 |
|
|
'epydoc/SConscript', |
29 |
|
|
'user/SConscript'] |
30 |
|
|
|
31 |
|
|
target_scripts = ['doxygen/SConscript', |
32 |
|
|
'epydoc/SConscript'] |
33 |
|
|
|
34 |
|
|
SConscript(target_scripts, duplicate=0) |