Hello!

I want to ask about match-anything rule.

If some file doesn't exist, I want to copy it from some location,
something like this:

file: /some/path/file
        cp $< $@

If I use the maching-any rule:

% : /some/path/%
        cp $< $@

It is OK, but if I want to expand a file with a dir, it is not correctly
expanded, instead of: 
  foo/file: /some/path/foo/file
It expands to
  foo/file: /foo/some/path/file

Any comments? Is this a bug or a feature?

Regards
Michal Svec


_______________________________________________
Bug-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-make

Reply via email to