summaryrefslogtreecommitdiffstats
path: root/doc/SConscript
diff options
context:
space:
mode:
authorMats Wichmann <mats@linux.com>2020-05-08 15:13:06 (GMT)
committerMats Wichmann <mats@linux.com>2020-05-10 12:44:58 (GMT)
commit600e0c897aaed2bf0f9ad6586925434103bfe389 (patch)
tree99c52996e0617a57b9c40fea7f7013bdb4c48d89 /doc/SConscript
parentb1f3b3020e9b8e532ddd64bdc4c3ba2e70a16599 (diff)
downloadSCons-600e0c897aaed2bf0f9ad6586925434103bfe389.zip
SCons-600e0c897aaed2bf0f9ad6586925434103bfe389.tar.gz
SCons-600e0c897aaed2bf0f9ad6586925434103bfe389.tar.bz2
[WIP] adjust docbuild for moved src [ci skip]
src/engine/SCons moved to SCons, affects wired in paths in documentation, and doc building scripts Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'doc/SConscript')
-rw-r--r--doc/SConscript8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/SConscript b/doc/SConscript
index 6a522d0..4ab4200 100644
--- a/doc/SConscript
+++ b/doc/SConscript
@@ -223,7 +223,7 @@ else:
# that all example names and example output suffixes are unique
#
print("Validating files against SCons XSD...")
- if SConsDoc.validate_all_xml(['src'], xsdfile='xsd/scons.xsd'):
+ if SConsDoc.validate_all_xml(['SCons'], xsdfile='xsd/scons.xsd'):
print("OK")
else:
print("Validation failed! Please correct the errors above and try again.")
@@ -275,7 +275,7 @@ else:
#
# Copy DocBook stylesheets and Tool to the build folder
#
- dbtoolpath = ['src', 'engine', 'SCons', 'Tool', 'docbook']
+ dbtoolpath = ['SCons', 'Tool', 'docbook']
copy_dbfiles(env, dbtoolpath, [], '__init__.py')
copy_dbfiles(env, dbtoolpath, 'utils', 'xmldepend.xsl')
dbpath = dbtoolpath + ['docbook-xsl-1.76.1']
@@ -291,7 +291,7 @@ else:
#
# Copy additional Tools (gs, zip)
#
- toolpath = ['src', 'engine', 'SCons', 'Tool']
+ toolpath = ['SCons', 'Tool']
copy_dbfiles(env, toolpath, [], 'gs.py')
copy_dbfiles(env, toolpath, [], 'zip.py')
@@ -505,7 +505,7 @@ if not skip_doc:
# XXX Should be in common with reading the same thing in
# the SConstruct file.
# bootstrap.py runs outside of SCons, so need to process the path
- e = Dir(os.path.join('#src', 'engine')).rstr()
+ e = Dir('#').rstr()
sources = bootstrap.parseManifestLines(e, os.path.join(e, 'MANIFEST.in'))
# Omit some files: