summaryrefslogtreecommitdiffstats
path: root/doc/SConscript
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2020-03-21 20:43:26 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2020-04-09 20:47:32 (GMT)
commit23197f27e50f9f66d9f7263fbac5c38855731922 (patch)
treec225812f4de5dfec08bbe0847aa25ca6050c00ee /doc/SConscript
parent7c466f714b9892d953ff2b91c7b0214180417000 (diff)
downloadSCons-23197f27e50f9f66d9f7263fbac5c38855731922.zip
SCons-23197f27e50f9f66d9f7263fbac5c38855731922.tar.gz
SCons-23197f27e50f9f66d9f7263fbac5c38855731922.tar.bz2
First pass of refactor. Moved command line argument processing into site_scons/BuildCommandLine.py. Sorted out all changes caused by that.
Diffstat (limited to 'doc/SConscript')
-rw-r--r--doc/SConscript6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/SConscript b/doc/SConscript
index 580f4ca..4e9fb74 100644
--- a/doc/SConscript
+++ b/doc/SConscript
@@ -31,7 +31,7 @@ import glob
import bootstrap
-Import('build_dir', 'env', 'whereis', 'revaction')
+Import('command_line', 'env', 'whereis', 'revaction')
#
# -- Check prerequisites for building the documentation ---
@@ -64,7 +64,7 @@ if skip_doc_arg is not None:
#
env = env.Clone()
-build = os.path.join(build_dir, 'doc')
+build = os.path.join(command_line.build_dir, 'doc')
gs = whereis('gs')
@@ -252,7 +252,7 @@ else:
fpattern = [fpattern]
if use_builddir:
- target_dir = env.Dir(os.path.join(build_dir, *(toolpath+paths)))
+ target_dir = env.Dir(os.path.join(command_line.build_dir, *(toolpath+paths)))
buildsuite.extend(env.GlobInstall(target_dir,
os.path.join('..', *(toolpath+paths+fpattern))))
else: