Ignore moduledir/doc in syncqt

When modularizing our documentation, module level
documentation is supposed to go into a doc
subfolder in the modules sources. Since this folder
also contains header files (snippets), we need to ignore
it in syncqt.

Change-Id: If8159816b042a1a6c810eaa0b6dbd99bf58d8ffa
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
This commit is contained in:
Lars Knoll 2012-04-12 13:02:11 +02:00 committed by Qt by Nokia
parent 00bf077b98
commit eef3f8c58a

View File

@ -959,6 +959,9 @@ foreach my $lib (@modules_to_sync) {
#calc subdirs
my @subdirs = ($headers_dir);
foreach my $subdir (@subdirs) {
if ($subdir =~ /\/doc$/) {
next;
}
opendir DIR, $subdir or next;
foreach my $t (sort readdir(DIR)) {
push @subdirs, "$subdir/$t" if(-d "$subdir/$t" && !($t eq ".") &&