src/Builder4/ClutterFiles.bjs
[app.Builder.js] / src / Project / Gtk.vala
index 21607f2..706fe68 100644 (file)
@@ -292,20 +292,25 @@ namespace Project {
                                                GLib.debug("SKIP %s - .o",fn);
                                                continue;
                                        }
-                                       if ("stamp-h1" == bn)) {
+                                       if ("stamp-h1" == bn) {
                                                GLib.debug("SKIP %s - .o",fn);
                                                continue;
                                        }
                                        
                                        // 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))) {
+                                       if (Regex.match_simple("^\\.", bn)) {
                                                GLib.debug("SKIP %s - hidden",fn);
                                                continue;
                                        }