PYTHON = sys.executable
)
+Version_values = [Value(version), Value(build_id)]
+
#
# Define SCons packages.
#
'filemap' : {
'LICENSE.txt' : '../LICENSE.txt'
},
+
+ 'explicit_deps' : {
+ 'SCons/Script/__init__.py' : Version_values,
+ },
}
#
'LICENSE.txt' : '../LICENSE.txt',
'scons' : 'scons.py',
'sconsign' : 'sconsign.py',
- }
+ },
+
+ 'explicit_deps' : {
+ 'scons' : Version_values,
+ 'sconsign' : Version_values,
+ },
}
scons = {
rpm_files.append(r + 'c')
files = map(lambda x, i=isubdir: os.path.join(i, x), files)
dst_files.extend(files)
- for k in sp['filemap'].keys():
- f = sp['filemap'][k]
+ for k, f in sp['filemap'].items():
if f:
- k = os.path.join(sp['src_subdir'], k)
- p['filemap'][k] = os.path.join(sp['src_subdir'], f)
+ k = os.path.join(ssubdir, k)
+ p['filemap'][k] = os.path.join(ssubdir, f)
+ for f, deps in sp['explicit_deps'].items():
+ f = os.path.join(build, ssubdir, f)
+ env.Depends(f, deps)
#
# Now that we have the "normal" source files, add those files
- Enhance ParseConfig() to work properly for spaces in between the -I,
-L and -l options and their arguments.
+ - Packaging build fix: Rebuild the files that are use to report the
+ --version of SCons whenever the development version number changes.
+
From Clive Levinson:
- Make ParseConfig() recognize and add -mno-cygwin to $LINKFLAGS and