Exclude doc directories from the codelite project file
[bertos.git] / wizard / plugins / codelite.py
index 0797da98aecacf205e9f375a43888ee5b7168d5a..f6555a8be406c8e823c2c6c514d4dfa7232287a0 100644 (file)
@@ -88,7 +88,7 @@ def findSources(path):
             file_dict[root.replace(path, "")] = {"dirs": [], "files": []}
             for dir in dirs:
                 # TODO: place the directory name in a constant file.
-                if dir.find("svn") == -1 and dir != "images" and dir != "obj":
+                if dir.find("svn") == -1 and dir != "images" and dir != "obj" and dir != "doc":
                     file_dict[root.replace(path, "")]["dirs"].append(dir)
             for file in files:
                 if file.endswith(const.EXTENSION_FILTER) and file != "buildrev.h":