From eef3f8c58a8c5a6f315927d9b288fa61eaf4b8f4 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Thu, 12 Apr 2012 13:02:11 +0200 Subject: 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 Reviewed-by: Lars Knoll --- bin/syncqt | 3 +++ 1 file changed, 3 insertions(+) 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 ".") && -- cgit v1.2.3