Paul D. Smith wrote:
> %% Manoj Srivastava <[EMAIL PROTECTED]> writes:
>
> ms> Even though 'make -d' is quite verbose about dependencies, it is
> ms> not verbose enough about called shell programs and stuff.
>
> ms> I'm currently debugging this line:
>
> ms> ROOT_PREFIX = $(shell perl -MCwd -e '$$_ = cwd;s/^.*src\/?//;@f=split
>/\//;$$n=$$#f+1;print "../"x $$n;' )
>
> ms> and all 'make -d' displays wrt this issue is:
> ms> Makefile:22: *** unterminated call to function `shell': missing `)'. Stop.
>
> The problem is you have a make comment character "#" in that variable
> definition, so the last half of the line is chopped off. You'll need to
> escape it.
That's not the problem. The request was to make make dump something,
e.g. the expression it tries to execute.
> I'm not clear on what exactly you're asking for here. FYI, make's -p
> option will show you the database of variables and rules; maybe that
> would help?
Yes, that helps.
Thanks,
Joey
--
GNU GPL: "The source will be with you... always."
Please always Cc to me when replying to me on the lists.