Don't add rakefile deps in non ruby packages

This commit is contained in:
William Douglas
2016-12-05 23:38:56 +00:00
parent 66b12f2433
commit 10b8251e81
+1 -1
View File
@@ -525,7 +525,7 @@ def scan_for_configure(package, dir, autospecdir):
for name in files:
if name.lower().startswith("configure."):
parse_configure_ac(os.path.join(dirpath, name))
if name.lower().startswith("rakefile"):
if name.lower().startswith("rakefile") and buildpattern.default_pattern == "ruby":
Rakefile(os.path.join(dirpath, name))
if name.lower() == "makefile":
buildpattern.set_build_pattern("make", default_score)