diff options
author | Steven Knight <knight@baldmt.com> | 2003-07-18 17:52:21 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2003-07-18 17:52:21 (GMT) |
commit | a7405b2115ba873ade35ebf16ade8736548b9a99 (patch) | |
tree | ce8cd516e0efe27115c4b199a430fa890aca4f47 /SConstruct | |
parent | a9f60545d3546413077ef9b9a78b5337b57c8399 (diff) | |
download | SCons-a7405b2115ba873ade35ebf16ade8736548b9a99.zip SCons-a7405b2115ba873ade35ebf16ade8736548b9a99.tar.gz SCons-a7405b2115ba873ade35ebf16ade8736548b9a99.tar.bz2 |
Add a script to print .sconsign file contents.
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -395,6 +395,7 @@ scons_script = { 'filemap' : { 'LICENSE.txt' : '../LICENSE.txt', 'scons' : 'scons.py', + 'sconsign' : 'sconsign.py', } } @@ -419,6 +420,7 @@ scons = { 'RELEASE.txt', 'os_spawnv_fix.diff', 'scons.1', + 'sconsign.1', 'script/scons.bat', 'setup.cfg', 'setup.py', @@ -426,6 +428,7 @@ scons = { 'filemap' : { 'scons.1' : '../doc/man/scons.1', + 'sconsign.1' : '../doc/man/sconsign.1', }, 'subpkgs' : [ python_scons, scons_script ], @@ -436,6 +439,8 @@ scons = { }, } +scripts = ['scons', 'sconsign'] + src_deps = [] src_files = [] @@ -806,12 +811,15 @@ for p in [ scons ]: "rm -rf %s" % local, "$PYTHON $SETUP_PY install --install-script=%s --install-lib=%s --no-compile" % \ (cwd_local, cwd_local_slv), - "mv %s/scons %s/scons.py" % (local, local), ] - rf = filter(lambda x: x != "scons", raw_files) + for script in scripts: + commands.append("mv %s/%s %s/%s.py" % (local, script, local, script)) + + rf = filter(lambda x: not x in scripts, raw_files) rf = map(lambda x, slv=s_l_v: os.path.join(slv, x), rf) - rf.append("scons.py") + for script in scripts: + rf.append("%s.py" % script) local_targets = map(lambda x, s=local: os.path.join(s, x), rf) env.Command(local_targets, build_src_files, commands) |