[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: make 3.81rc2: automatic variables strip leading "./"
From: |
Paul D. Smith |
Subject: |
Re: make 3.81rc2: automatic variables strip leading "./" |
Date: |
Fri, 31 Mar 2006 10:23:01 -0500 |
%% "Angel Tsankov" <address@hidden> writes:
at> I figured it out:
at> CANONIZE = $(subst ./,,$(1))
This might be dangerous. Have you considered the differences in
behavior between using subst and patsubst here? I think patsubst is
more likely to be what you want:
$(patsubst ./%,%,$(1))
I can't visualize the whole thing with just this change, but if it works
for you that's good!
--
-------------------------------------------------------------------------------
Paul D. Smith <address@hidden> Find some GNU make tips at:
http://www.gnu.org http://make.paulandlesley.org
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
- make 3.81rc2: automatic variables strip leading "./", Angel Tsankov, 2006/03/29
- Re: make 3.81rc2: automatic variables strip leading "./", Paul D. Smith, 2006/03/29
- Re: make 3.81rc2: automatic variables strip leading "./", Angel Tsankov, 2006/03/30
- Re: make 3.81rc2: automatic variables strip leading "./", Paul D. Smith, 2006/03/30
- Re: make 3.81rc2: automatic variables strip leading "./", Angel Tsankov, 2006/03/30
- Re: make 3.81rc2: automatic variables strip leading "./", Paul D. Smith, 2006/03/30
- Re: make 3.81rc2: automatic variables strip leading "./", Angel Tsankov, 2006/03/30
- Re: make 3.81rc2: automatic variables strip leading "./", Paul D. Smith, 2006/03/30
- Re: make 3.81rc2: automatic variables strip leading "./", Angel Tsankov, 2006/03/31
- Re: make 3.81rc2: automatic variables strip leading "./",
Paul D. Smith <=