src/Project/Gtk.vala
authorAlan Knowles <alan@roojs.com>
Tue, 26 May 2015 06:35:56 +0000 (14:35 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 26 May 2015 06:35:56 +0000 (14:35 +0800)
src/Project/Gtk.vala

index 21607f2..cf250fc 100644 (file)
@@ -299,11 +299,16 @@ namespace Project {
                                        
                                        // confgure.am
                                        if ("config.h" == bn || "config.h.in" == bn || "config.log" == bn  || "configure" == bn ) {
-                                               if (allfiles.index_of( in_path +"/configure.am") > -1) {
+                                               if (allfiles.index_of( in_path +"/configure.ac") > -1) {
+                                                       continue;
+                                               }
+                                       }
+                                       // makefile
+                                       if ("Makefile" == bn || "Makefile.in" == bn ) {
+                                               if (allfiles.index_of( in_path +"/Makefile.am") > -1) {
                                                        continue;
                                                }
                                        }
-                                       
                                        
                                        if (Regex.match_simple("^\\.", GLib.Path.get_basename(fn))) {
                                                GLib.debug("SKIP %s - hidden",fn);