diff options
author | Dirk Baechle <dl9obn@darc.de> | 2013-05-04 01:15:51 +0200 |
---|---|---|
committer | Dirk Baechle <dl9obn@darc.de> | 2013-05-04 01:15:51 +0200 |
commit | 1fbefd24e5d0fb8d5ee4bc5829d57d2fe3c9a7d8 (patch) | |
tree | db7c1f8052480a8c5cabc7bb8bc18a08314453bf /SConstruct | |
parent | 0b4c8dabb0991e9ed9255de97aef1a130b9bb903 (diff) | |
download | scons-1fbefd24e5d0fb8d5ee4bc5829d57d2fe3c9a7d8.tar.gz |
- relinked the build of all documentation outputs to the bootstrap process
- corrected the doc folder SConscripts and added XSL and titlepage files where required
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -168,6 +168,17 @@ if build_id is None: python_ver = sys.version[0:3] +# +# Adding some paths to sys.path, this is mainly needed +# for the doc toolchain. +# +addpaths = [os.path.abspath(os.path.join(os.getcwd(), 'bin')), + os.path.abspath(os.path.join(os.getcwd(), 'QMTest'))] +for a in addpaths: + if a not in sys.path: + sys.path.append(a) + + # Re-exporting LD_LIBRARY_PATH is necessary if the Python version was # built with the --enable-shared option. @@ -375,6 +386,7 @@ def SCons_revision(target, source, env): open(t, 'wb').write(contents) os.chmod(t, os.stat(s)[0]) +revaction = SCons_revision revbuilder = Builder(action = Action(SCons_revision, varlist=['COPYRIGHT', 'VERSION'])) @@ -1179,7 +1191,7 @@ for file in files: # # Documentation. # -Export('build_dir', 'env', 'whereis') +Export('build_dir', 'env', 'whereis', 'revaction') SConscript('doc/SConscript') |