continue;
}
GLib.debug("SCAN ADD %s : %s", fn, next_file.get_content_type());
- ret.add(in_path + "/" + fn);
+ ret.add(dirname + "/" + fn);
// any other valid types???
return ret;
}
- public Gee.ArrayList<string> filesForCompile(string in_path)
+ public Gee.ArrayList<string> filesForCompile(string in_path, bool abspath = true)
{
- var allfiles = this.filesAll(in_path);
+ var allfiles = this.filesAll(in_path,abspath);
var ret = new Gee.ArrayList<string>();
GLib.debug("SKIP %s - .o",fn);
continue;
}
- if ("stamp-h1" == bn)) {
+ if ("stamp-h1" == bn) {
GLib.debug("SKIP %s - .o",fn);
continue;
}
}
}
- if (Regex.match_simple("^\\.", GLib.Path.get_basename(fn))) {
+ if (Regex.match_simple("^\\.", bn)) {
GLib.debug("SKIP %s - hidden",fn);
continue;
}