help-make
[Top][All Lists]
Advanced

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

Re: help patter mathcing


From: Boris Kolpackov
Subject: Re: help patter mathcing
Date: Fri, 8 Sep 2006 15:24:38 +0000 (UTC)
User-agent: nn/6.6.5+RFC1522

Hi Zunbeltz,

"Zunbeltz Izaola" <address@hidden> writes:


> I what to wirte a pattern rule similar to
>
> %.pdf : something
>     mptopdf $<
>
> where someting tramsform names like foo-[0-9]*.pdf to foo.mp

You can use the secondary expansion in implicit pattern rules
feature which was added in GNU make 3.81. Check the manual for
details.


hth,
-boris





reply via email to

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