%% Michal Svec <[EMAIL PROTECTED]> writes:
ms> % : /some/path/%
ms> cp $< $@
ms> It is OK, but if I want to expand a file with a dir, it is not correctly
ms> expanded, instead of:
ms> foo/file: /some/path/foo/file
ms> It expands to
ms> foo/file: /foo/some/path/file
ms> Any comments? Is this a bug or a feature?
This is how patterns are documented to expand. Check the GNU make
manual section "How Patterns Match".
--
-------------------------------------------------------------------------------
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.gnu.org http://www.paulandlesley.org/gmake/
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
_______________________________________________
Bug-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-make