Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jul 1995 20:42:20 -0400
From:      Thomas David Rivers <ponds!rivers@dg-rtp.dg.com>
To:        uriah.heep.sax.de!joerg_wunsch@dg-rtp.dg.com, freebsd-bugs@freebsd.org
Subject:   Re: make doesn't like lines with a tab only
Message-ID:  <199507180042.UAA03372@lakes>

next in thread | raw e-mail | index | archive | help

joerg_wunsch@uriah.heep.sax.de wrote:
> As Mats Lofkvist wrote:
> > 
> > 
> > the following "Makefile"
> > --SNIP--
> > foo: bar
> > <TAB>xyzzy -o foo bar
> > <TAB>
> > --SNIP--
> > 
> > results in:
> > "Makefile", line 3: Need an operator
> > Fatal errors encountered -- cannot continue
> 
> What semantics would you imply with this Makefile?  Since a leading
> TAB is taken to be as a line with shell commands, but there's no
> command at all, i wouldn't care to accept this as a "bug"...
> 
> (I.e., it doesn't bother me too much which error message i'm getting
> for a bogus Makefile.)
> 
> -- 

I didn't say anything when this was discussed, because I agreed with Joerg's
approach...

However, I keep running into "standard/portable" makefiles that insist on
doing this.

After I ran into the fifth such makefile - I've changed my mind on
this - and would now argue that we need to re-instate the previous
behavior, just for ease of use.


	- Dave Rivers -



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199507180042.UAA03372>