Subject: Re: imake, Solaris, Xrender
To: Hubert Feyrer <hubert@feyrer.de>
From: Johnny C. Lam <jlam@NetBSD.org>
List: tech-pkg
Date: 06/15/2005 13:53:47
Hubert Feyrer wrote:
>
> rfhpc8317% cat -ve d
> bla:$
> $
> date$
> rfhpc8317% make -f d bla
> make: Fatal error in reader: d, line 4: Unexpected end of line seen
The error isn't blank lines in general, it's a blank line as the first
"command" for a target. I think it's wrong to strip every blank line.
That would break if the Makefile ever had something like:
target1:<return>
line1 \<return>
<return>
target2::
which I imagine is possible in a machine-generated Makefile. The
problem can be fixed much more simply by modifying the Imakefile that
imake-check writes to avoid generating a blank line for the first
command of a target.
Cheers,
-- Johnny Lam <jlam@NetBSD.org>