[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Match-Anything rule

From: Paul D. Smith
Subject: Re: Match-Anything rule
Date: Tue, 19 Dec 2000 20:38:51 -0500

%% Michal Svec <address@hidden> 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 <address@hidden>          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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]