summaryrefslogtreecommitdiffstats
path: root/bin/docs-update-generated.py
diff options
context:
space:
mode:
authorDirk Baechle <dl9obn@darc.de>2013-05-03 22:41:56 (GMT)
committerDirk Baechle <dl9obn@darc.de>2013-05-03 22:41:56 (GMT)
commit6885c3fd4f501aff9d5cde7b0bb3aedaf5b63e10 (patch)
tree419e5508d729ce1dcdd8f5af033e80b174c5b3f3 /bin/docs-update-generated.py
parent1c43c95fd745a770ad7b0be5ead347c62a18e006 (diff)
downloadSCons-6885c3fd4f501aff9d5cde7b0bb3aedaf5b63e10.zip
SCons-6885c3fd4f501aff9d5cde7b0bb3aedaf5b63e10.tar.gz
SCons-6885c3fd4f501aff9d5cde7b0bb3aedaf5b63e10.tar.bz2
- cleaned up 'bin' directory
- several smaller fixes - added first version of the Overview document for the doc toolchain
Diffstat (limited to 'bin/docs-update-generated.py')
-rw-r--r--bin/docs-update-generated.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/docs-update-generated.py b/bin/docs-update-generated.py
index e689903..66b22c0 100644
--- a/bin/docs-update-generated.py
+++ b/bin/docs-update-generated.py
@@ -11,7 +11,7 @@ import os
import SConsDoc
# Directory where all generated files are stored
-gen_folder = 'doc/generated'
+gen_folder = os.path.join('doc','generated')
def argpair(key):
""" Return the argument pair *.gen,*.mod for the given key. """
@@ -41,8 +41,9 @@ def generate_all():
print "Couldn't create destination folder %s! Exiting..." % gen_folder
return
# Call scons-proc.py
- os.system('python bin/scons-proc.py -b %s -f %s -t %s -v %s %s' %
- (argpair('builders'), argpair('functions'),
+ os.system('python %s -b %s -f %s -t %s -v %s %s' %
+ (os.path.join('bin','scons-proc.py'),
+ argpair('builders'), argpair('functions'),
argpair('tools'), argpair('variables'), ' '.join(flist)))