bug-make
[Top][All Lists]
Advanced

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

Re: Conditional recipe execution


From: SF Markus Elfring
Subject: Re: Conditional recipe execution
Date: Fri, 23 Jan 2015 22:24:39 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

> The error doesn't mean that the closing parentheses is missing from line 95,

I understand this information part.


> it means that the open parenthesis that it didn't match was the
> "info" function on line 95.

I find this detail hard to believe.

I hope that the current KDevelop editor does not misguide me. The parentheses
pairs are found there as expected.

Do you read the shown rule example eventually in the way that its recipe
does not end with "…_NOTIFICATION8)'))"?


> If you want that then you need a backslash at the end of line 96, to
> continue the logical line:

I find that a backslash would not be needed at this place if would like to
keep the "RM command" on a separate logical line.


>>>         $(info $(if $(LET_RUN_DATA_EXPORT1_PARALLEL),\
>>> $(eval LET_RUN_DATA_EXPORT1_PARALLEL::=)@$(RM) 
>>> '$(RESULT_SQL_DATABASE_NOTIFICATION8)'
> 
> Make never looks across logical lines to complete variable or function
> so you have to combine them into a single logical line with backslashes.

Do I expect more functionality here than what is actually provided so far?

Regards,
Markus



reply via email to

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