[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: transforming text
From: |
Nagaraj, Manjunath |
Subject: |
RE: transforming text |
Date: |
Fri, 22 Feb 2002 07:04:47 -0600 |
We can do that using the filter-out function
LIST = $(filter-out %..sc,$(DCLDEF))
LIST will now contain all the files but with those having the extension
".sc"
-----Original Message-----
From: Maciej Walezak [mailto:address@hidden
Sent: Friday, February 22, 2002 5:04 PM
To: address@hidden
Subject: transforming text
Hello,
I have the following variable:
DCLDEF = foo=path/foo.dcl bar=path/bar.dcl a_junk=a_path/junk.sc
I want to have another variable containing the same list but without the
prefix *= i.e.
path/foo.dcl path/bar.dcl a_path/junk.sc
How can I do that? $(patsubst %=,,$(DCLDEF)) does not work.
greetings
--
Maciej Walezak
-GDN-
_______________________________________________
Help-make mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/help-make