summaryrefslogtreecommitdiffstats
path: root/SConstruct
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 /SConstruct
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 'SConstruct')
-rw-r--r--SConstruct6
1 files changed, 4 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct
index 8dce43b..f289947 100644
--- a/SConstruct
+++ b/SConstruct
@@ -42,6 +42,8 @@ import stat
import sys
import tempfile
+import bootstrap
+
project = 'scons'
default_version = '2.3.1.alpha.yyyymmdd'
copyright = "Copyright (c) %s The SCons Foundation" % copyright_years
@@ -755,7 +757,7 @@ for p in [ scons ]:
# destination files.
#
manifest_in = File(os.path.join(src, 'MANIFEST.in')).rstr()
- src_files = [x[:-1] for x in open(manifest_in).readlines()]
+ src_files = bootstrap.parseManifestLines(src, open(manifest_in).readlines())
raw_files = src_files[:]
dst_files = src_files[:]
rpm_files = []
@@ -774,7 +776,7 @@ for p in [ scons ]:
isubdir = p['subinst_dirs'][sp['pkg']]
MANIFEST_in = File(os.path.join(src, ssubdir, 'MANIFEST.in')).rstr()
MANIFEST_in_list.append(MANIFEST_in)
- files = [x[:-1] for x in open(MANIFEST_in).readlines()]
+ files = bootstrap.parseManifestLines(os.path.join(src, ssubdir), open(MANIFEST_in).readlines())
raw_files.extend(files)
src_files.extend([os.path.join(ssubdir, x) for x in files])
for f in files: