52 |
('examples_tarfile', 'the examples tar file will be installed.', Dir('#.').abspath+"/release/doc/escript_examples.tar.gz"), |
('examples_tarfile', 'the examples tar file will be installed.', Dir('#.').abspath+"/release/doc/escript_examples.tar.gz"), |
53 |
('examples_zipfile', 'the examples zip file will be installed.', Dir('#.').abspath+"/release/doc/escript_examples.zip"), |
('examples_zipfile', 'the examples zip file will be installed.', Dir('#.').abspath+"/release/doc/escript_examples.zip"), |
54 |
('guide_pdf', 'name of the user guide in pdf format', Dir('#.').abspath+"/release/doc/user/guide.pdf"), |
('guide_pdf', 'name of the user guide in pdf format', Dir('#.').abspath+"/release/doc/user/guide.pdf"), |
55 |
|
('api_epydoc', 'name of the epydoc api docs directory',Dir('#.').abspath+"/release/doc/epydoc"), |
56 |
('guide_html', 'name of the directory for user guide in html format', Dir('#.').abspath+"/release/doc/user/html"), |
('guide_html', 'name of the directory for user guide in html format', Dir('#.').abspath+"/release/doc/user/html"), |
57 |
# Compilation options |
# Compilation options |
58 |
BoolOption('dodebug', 'Do you want a debug build?', 'no'), |
BoolOption('dodebug', 'Do you want a debug build?', 'no'), |
356 |
except KeyError: |
except KeyError: |
357 |
guide_html_index = None |
guide_html_index = None |
358 |
|
|
359 |
|
try: |
360 |
|
api_epydoc = env.Dir(env['api_epydoc']) |
361 |
|
except KeyError: |
362 |
|
api_epydoc = None |
363 |
|
|
364 |
# Zipgets |
# Zipgets |
365 |
|
|
366 |
env.Default(libinstall) |
env.Default(libinstall) |
367 |
env.Default(incinstall) |
env.Default(incinstall) |
368 |
env.Default(pyinstall) |
env.Default(pyinstall) |
369 |
env.Alias('release_src',[ src_zipfile, src_tarfile ]) |
env.Alias('release_src',[ src_zipfile, src_tarfile ]) |
370 |
env.Alias('release_tests',[ test_zipfile, test_tarfile]) |
env.Alias('release_tests',[ test_zipfile, test_tarfile]) |
371 |
env.Alias('release_examples',[ examples_zipfile, examples_tarfile]) |
env.Alias('release_examples',[ examples_zipfile, examples_tarfile]) |
372 |
env.Alias('docs',[ 'release_examples', guide_pdf, guide_html_index ]) |
env.Alias('docs',[ 'release_examples', guide_pdf, guide_html_index, api_epydoc]) |
373 |
env.Alias('release', ['release_src', 'release_tests', 'docs']) |
env.Alias('release', ['release_src', 'release_tests', 'docs']) |
374 |
env.Alias('build_tests') # target to build all C++ tests |
env.Alias('build_tests') # target to build all C++ tests |
375 |
env.Alias('build_py_tests') # target to build all python tests |
env.Alias('build_py_tests') # target to build all python tests |
387 |
Export(["env", "incinstall", "libinstall", "pyinstall", "dodebug", "mkl_libs", "scsl_libs", "umf_libs", |
Export(["env", "incinstall", "libinstall", "pyinstall", "dodebug", "mkl_libs", "scsl_libs", "umf_libs", |
388 |
"boost_lib", "python_lib", "doxygen_path", "epydoc_path", "epydoc_pythonpath", "papi_libs", |
"boost_lib", "python_lib", "doxygen_path", "epydoc_path", "epydoc_pythonpath", "papi_libs", |
389 |
"sys_libs", "test_zipfile", "src_zipfile", "test_tarfile", "src_tarfile", "examples_tarfile", "examples_zipfile", |
"sys_libs", "test_zipfile", "src_zipfile", "test_tarfile", "src_tarfile", "examples_tarfile", "examples_zipfile", |
390 |
"guide_pdf", "guide_html_index"]) |
"guide_pdf", "guide_html_index", "api_epydoc"]) |
391 |
|
|
392 |
# End initialisation section |
# End initialisation section |
393 |
# Begin configuration section |
# Begin configuration section |