Skip doc subfolders when checking includes.
authorLars Knoll <lars.knoll@nokia.com>
Tue, 31 Jul 2012 18:40:25 +0000 (20:40 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 1 Aug 2012 13:37:46 +0000 (15:37 +0200)
This removes the bogus warnings when running
syncqt from configure about snippets in the doc/
folders.

Change-Id: I8e3d258238c1cd1e763ce63b895d58b68bbc06f3
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
bin/syncqt

index 7589e69..fbeee27 100755 (executable)
@@ -1150,7 +1150,8 @@ if($check_includes) {
                     push @subdirs, "$subdir/$t" if(-d "$subdir/$t" && !($t eq ".") &&
                                                    !($t eq "..") && !($t eq ".obj") &&
                                                    !($t eq ".moc") && !($t eq ".rcc") &&
-                                                   !($t eq ".uic") && !($t eq "build"));
+                                                   !($t eq ".uic") && !($t eq "build") &&
+                                                   !($t eq "doc"));
                 }
                 closedir DIR;
             }