bug-make
[Top][All Lists]
Advanced

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

Re: Conditional recipe execution


From: Paul Smith
Subject: Re: Conditional recipe execution
Date: Fri, 23 Jan 2015 16:01:41 -0500

On Fri, 2015-01-23 at 21:56 +0100, SF Markus Elfring wrote:
> >> parallel-inc.make:95: *** unterminated call to function 'info':
> missing ')'.  Stop.
> > 
> > I think the message is pretty clear: you're missing the end parenthesis
> > ")" to the info function which starts at line 95:
> 
> I read my make rule in the way that the closing parentheses
> is really not on the line 95.

The error doesn't mean that the closing parentheses is missing from line
95, it means that the open parenthesis that it didn't match was the
"info" function on line 95.

> But it should be found on the line 101.
> …_NOTIFICATION8)'))

If you want that then you need a backslash at the end of line 96, to
continue the 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.




reply via email to

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