summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rwxr-xr-xwscript14
1 files changed, 7 insertions, 7 deletions
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.")