diff options
author | 2015-08-10 18:33:46 +0300 | |
---|---|---|
committer | 2015-08-10 18:33:46 +0300 | |
commit | d246cd00853802c08d0bdc52eebdf92db73be263 (patch) | |
tree | d75750c68bd943c71f121d706a92924df886a829 /wscript | |
parent | be48c668a6c24c5c3d7b8a749719b508e855ced3 (diff) |
updated wscript
Diffstat (limited to 'wscript')
-rwxr-xr-x | wscript | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -188,6 +188,15 @@ def build(bld): bld(rule='${ASCIIDOC} -a stylesheet=${SRC[1].abspath()} -a icons=true -a toc2 -a max-width=55em -o ${TGT} ${SRC[0].abspath()}', source='trex_control_plane_peek.asciidoc waf.css', target='trex_control_plane_peek.html', scan=ascii_doc_scan) + # generate control plane documentation + export_path = os.path.join(os.getcwd(), 'build') + trex_core_git_path = os.getenv('TREX_CORE_GIT', None) + if trex_core_git_path: # there exists the desired ENV variable. + build_cp_docs(trex_core_git_path, dest_dir= export_path) + else: + raise NameError("Environment variable 'TREX_CORE_GIT' is not defined.") + + |