From 2456607753cb05b8195bd202b83aebda0e958b4f Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 26 May 2015 14:33:54 +0800 Subject: [PATCH] src/Project/Gtk.vala --- src/Project/Gtk.vala | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/Project/Gtk.vala b/src/Project/Gtk.vala index 376306c5b..0edc425ec 100644 --- a/src/Project/Gtk.vala +++ b/src/Project/Gtk.vala @@ -291,10 +291,16 @@ namespace Project { GLib.debug("SKIP %s - .o",fn); continue; } - if (Regex.match_simple("stamp-h1$", GLib.Path.get_basename(fn))) { + if ("stamp-h1" == GLib.Path.get_basename(fn))) { GLib.debug("SKIP %s - .o",fn); continue; } + if ("config.h" == GLib.Path.get_basename(fn))) { + if (allfiles.index_of( in_path +"/configure.am") > -1) { + continue; + } + } + if (Regex.match_simple("^\\.", GLib.Path.get_basename(fn))) { GLib.debug("SKIP %s - hidden",fn); -- 2.39.2