when parsing dependency files in the format of make (generated by unix compilers), the file_task variable (actually, the file name) is not stripped. so if it contains spaces, it means it represents a different task than what you'd expect.

here's the patch to solve this:
--- rake/loaders/makefile.rb.orig    2008-07-22 19:01:11.000000000 +0300
+++ rake/loaders/makefile.rb    2008-07-22 18:55:59.000000000 +0300
@@ -29,6 +29,7 @@
    # Process one logical line of makefile data.
    def process_line(line)
      file_task, args = line.split(':')
+      file_task.strip!
      return if args.nil?
      dependents = args.split
      file file_task => dependents


--
--
Ittay Dror <[EMAIL PROTECTED]>


_______________________________________________
Rake-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rake-devel

Reply via email to