1 |
# Scons configuration file for doxygen 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 |
import scons_extensions |
12 |
|
13 |
# |
14 |
# do the actual build |
15 |
|
16 |
source = 'rundoxygen' |
17 |
|
18 |
doxygen_env = Environment(ENV = os.environ) |
19 |
|
20 |
runDoxygen_builder = Builder(action = scons_extensions.build_doxygen, suffix = ".run", single_source = True) |
21 |
doxygen_env.Append(BUILDERS = {'RunDoxygen' : runDoxygen_builder}) |
22 |
|
23 |
Default(doxygen_env.RunDoxygen(source)) |