diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2012-04-12 13:02:11 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-17 23:16:51 +0200 |
commit | eef3f8c58a8c5a6f315927d9b288fa61eaf4b8f4 (patch) | |
tree | 6139f54da8d67dd46ca2ba765e6f5cb6a8ed19c7 /bin | |
parent | 00bf077b98bb53304bd9e487e9ad3d0734fb65af (diff) |
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>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/syncqt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/syncqt b/bin/syncqt index 3e77d2001d..bc2ccf38ae 100755 --- a/bin/syncqt +++ b/bin/syncqt @@ -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 ".") && |