From da40902ba17b68ee6d4337411b4387a414856a7f Mon Sep 17 00:00:00 2001 From: Dan Klein Date: Mon, 10 Aug 2015 18:45:39 +0300 Subject: fixed indentation, changed output to designated cp_docs folder --- wscript | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index 68b617d8..51f2d103 100755 --- a/wscript +++ b/wscript @@ -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.") -- cgit