summaryrefslogtreecommitdiffstats
path: root/bin/docs-update-generated.py
diff options
context:
space:
mode:
authorDirk Baechle <dl9obn@darc.de>2013-05-03 22:18:52 (GMT)
committerDirk Baechle <dl9obn@darc.de>2013-05-03 22:18:52 (GMT)
commit3c1250527d43864c309cbf0dd2f9356042124d21 (patch)
tree457872409543640bc391a51c500c510bae145f5e /bin/docs-update-generated.py
parent5b4de675705f2cb7aea430e557b9c66475483522 (diff)
downloadSCons-3c1250527d43864c309cbf0dd2f9356042124d21.zip
SCons-3c1250527d43864c309cbf0dd2f9356042124d21.tar.gz
SCons-3c1250527d43864c309cbf0dd2f9356042124d21.tar.bz2
- switched all docs to SCons XSD
Diffstat (limited to 'bin/docs-update-generated.py')
-rw-r--r--bin/docs-update-generated.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/docs-update-generated.py b/bin/docs-update-generated.py
index 2a78b9f..e689903 100644
--- a/bin/docs-update-generated.py
+++ b/bin/docs-update-generated.py
@@ -8,6 +8,7 @@
#
import os
+import SConsDoc
# Directory where all generated files are stored
gen_folder = 'doc/generated'
@@ -28,7 +29,8 @@ def generate_all():
for f in files:
if f.endswith('.xml'):
fpath = os.path.join(path, f)
- flist.append(fpath)
+ if SConsDoc.isSConsXml(fpath):
+ flist.append(fpath)
if flist:
# Does the destination folder exist