winapi: Update and simplify file_skip() to match the current sources.

Francois Gouget fgouget at free.fr
Tue Feb 20 08:50:21 CST 2007


---

Now that the source tree is organised in a pretty logical way it's 
simpler to list the directories containing files we want to scan, rather 
than listing those we want to skip.

 tools/winapi/config.pm |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/tools/winapi/config.pm b/tools/winapi/config.pm
index b652e49..fd45dc7 100644
--- a/tools/winapi/config.pm
+++ b/tools/winapi/config.pm
@@ -108,11 +108,8 @@ sub file_skip($) {
 
     $_ = file_absolutize($_);
 
-    m%^(?:loader|libs|programs|server|tools)/% && return 1;
-    m%^dlls/wineps/data/% && return 1;
-    m%^dlls/winmm/wineoss/midipatch\.c$% && return 1;
-    m%spec\.c$% && return 1;
-
+    m%^(?:dlls|include)/% || return 1;
+    m%^dlls/wineps\.drv/data/% && return 1;
     return 0;
 }
 
-- 
1.4.4.4




More information about the wine-patches mailing list