summaryrefslogtreecommitdiffstats
path: root/doc/SConscript
diff options
context:
space:
mode:
authorDirk Baechle <dl9obn@darc.de>2013-05-04 00:26:07 (GMT)
committerDirk Baechle <dl9obn@darc.de>2013-05-04 00:26:07 (GMT)
commitaf9e799b805c424263e8b214b9a1678363bf5072 (patch)
treecd73d9b26ad623e6cacbd2d1135cee5ff274c2a8 /doc/SConscript
parent2fbab041df44f30a342fc7c0b43bb0808638c7e0 (diff)
downloadSCons-af9e799b805c424263e8b214b9a1678363bf5072.zip
SCons-af9e799b805c424263e8b214b9a1678363bf5072.tar.gz
SCons-af9e799b805c424263e8b214b9a1678363bf5072.tar.bz2
- patched setup.py and several MANIFEST files, such that the docbook-xsl
folder and all additional documentation sources get packaged properly - added basic support for wildcards and recursive globbing in MANIFEST files - added missing JPG/SVG files
Diffstat (limited to 'doc/SConscript')
-rw-r--r--doc/SConscript7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/SConscript b/doc/SConscript
index 7c888d2..8dcf697 100644
--- a/doc/SConscript
+++ b/doc/SConscript
@@ -30,6 +30,7 @@ import sys
import glob
import SConsDoc
import SConsExamples
+import bootstrap
Import('build_dir', 'env', 'whereis', 'revaction')
@@ -192,7 +193,7 @@ else:
# get included by the document XML files in the subdirectories.
#
manifest = File('MANIFEST').rstr()
- src_files = [x[:-1] for x in open(manifest).readlines()]
+ src_files = bootstrap.parseManifestLines('.', open(manifest).readlines())
for s in src_files:
if not s:
continue
@@ -217,7 +218,7 @@ else:
env.Execute(Mkdir(os.path.join(build, doc)))
env.Execute(Mkdir(os.path.join(build, doc, 'titlepage')))
manifest = File(os.path.join(doc, 'MANIFEST')).rstr()
- src_files = [x[:-1] for x in open(manifest).readlines()]
+ src_files = bootstrap.parseManifestLines(doc, open(manifest).readlines())
for s in src_files:
if not s:
continue
@@ -363,7 +364,7 @@ else:
# the SConstruct file.
e = os.path.join('#src', 'engine')
manifest_in = File(os.path.join(e, 'MANIFEST.in')).rstr()
- sources = [x[:-1] for x in open(manifest_in).readlines()]
+ sources = bootstrap.parseManifestLines(e, open(manifest_in).readlines())
sources = [x for x in sources if x.find('Platform') == -1]
sources = [x for x in sources if x.find('Tool') == -1]
# XXX