From: nobu@... Date: 2006-08-23T14:12:45+09:00 Subject: Re: [rake] patch to rule Hi, At Wed, 23 Aug 2006 12:01:49 +0900, Jim Weirich wrote in [ruby-core:08691]: > > 2) file name which starts with a dot > > file '.foo' > > rule '.o' => %w[.c .foo] do |t| > > p "#{t.name} #{t.sources.join(' ')}" > > end > > Unfortunately, names beginning with dots are assumed to be file > extension patterns. If you really need it, wrap it in a lambda as > above, or use something that is obviously not an extension, e.g: > > rule '.o' => %w[.c ./.foo] do |t| ... end Fair enough. How I use dot files sometimes is to "touch". They should be in working directory, so prepending ./ isn't problem. -- Nobu Nakada