: subst construct

Mat M matm at
Sun Oct 14 14:31:15 PDT 2012

Le Sat, 13 Oct 2012 04:51:26 +0200, Norbert Thiebaud <nthiebaud at>  
a écrit:

> On Fri, Oct 12, 2012 at 6:45 PM, Mat M <matm at> wrote:
>> Is the construct legal or is there an issue here ?
>> If it is legal, I'd love to have an explanation, because I had no great
>> success when googling.

Oh,  I assumed it was GNU make stuff.

> $(subst,pat,replacement data)
>     Will search for pat in data and will replace any occurrence of pat
> with the replacement string. The expansion
>         $(subst,.o,.c $(OBJECTS))
>     is equivalent to:
>         $(OBJECTS:s/.o/.c/)

Syntax is different from gmake, so...

Thank you Norbert

So, now I took back the code from around line 554


here LOCAL_COMMON_OUT:=$(OUT) is enough or am I missing another thing ?

PS: Sorry for single-psting you Norbert, it was too late in the night.
Mat M

More information about the LibreOffice mailing list