Hi Paul,
[Yes I was thinking you code warriors could do without an example...]
How's this:
> sm> make fails ambiguously if the Makefile has non-tab whitespace after a
> sm> multiline variable definition that gets expanded to the target of a
> sm> rule:
> Sorry, I can't parse that (I just got back from vacation and my brain is
> not yet working again). Can you send an example?
MULTILINE_TARGET = foo \
bar \*** any non-tab whitespace here causes problem ***
baz
$(MULTILINE_TARGET) : $(BUNCHASOURCE)
...
> sm> Makefile:12: *** commands commence before first target. Stop.
> sm> (The error number varies between 12,13,14 or even 28 (tabstop) error)
>
> sm> It should pinpoint the error (with line number).
>
> Umm... the "12" is not an error number, it's a line number in the
> makefile where make detected the error.
Ahh! I don't think this is adequately documented.
Would it be possible to change to the more intuitive standard syntax:
[Makefile,12]: *** ...
Regards
Stephen
_______________________________________________
Bug-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-make