diff options
author | 2015-08-10 18:45:39 +0300 | |
---|---|---|
committer | 2015-08-10 18:45:39 +0300 | |
commit | da40902ba17b68ee6d4337411b4387a414856a7f (patch) | |
tree | f5a15b1fb1fc1076553b50faba8d5e12d2a5036e /wscript | |
parent | d246cd00853802c08d0bdc52eebdf92db73be263 (diff) |
fixed indentation, changed output to designated cp_docs folder
Diffstat (limited to 'wscript')
-rwxr-xr-x | wscript | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -188,13 +188,13 @@ 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.") + # generate control plane documentation + export_path = os.path.join(os.getcwd(), 'build', 'cp_docs') + 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.") |