Source

SCons / bin / docs-update-generated.py

Diff from to

File bin/docs-update-generated.py

 #
 
 import os
+import SConsDoc
 
 # Directory where all generated files are stored
 gen_folder = 'doc/generated'
         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