From owner-freebsd-bugs Fri Jun 9 15:44:50 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id PAA08311 for bugs-outgoing; Fri, 9 Jun 1995 15:44:50 -0700 Received: from gndrsh.aac.dev.com (gndrsh.aac.dev.com [198.145.92.241]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id PAA08305 for ; Fri, 9 Jun 1995 15:44:48 -0700 Received: (from rgrimes@localhost) by gndrsh.aac.dev.com (8.6.11/8.6.9) id PAA06485; Fri, 9 Jun 1995 15:40:59 -0700 From: "Rodney W. Grimes" Message-Id: <199506092240.PAA06485@gndrsh.aac.dev.com> Subject: Re: make doesn't like lines with a tab only To: rls@hades.id.net (Robert Shady) Date: Fri, 9 Jun 1995 15:40:59 -0700 (PDT) Cc: mal@algonet.se, bugs@FreeBSD.org In-Reply-To: <199506092055.QAA00886@hades.id.net> from "Robert Shady" at Jun 9, 95 04:55:36 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1207 Sender: bugs-owner@FreeBSD.org Precedence: bulk > > > > the following "Makefile" > > > --SNIP-- > > > foo: bar > > > xyzzy -o foo bar > > > > > > --SNIP-- > > > > > > results in: > > > "Makefile", line 3: Need an operator > > > Fatal errors encountered -- cannot continue > > > > The only bug here is that your makefile is arguably wrong. A tab indicates > > there is to be a command in this location, you have provided no command. > > > > Many other makes ignore this arguably erronous line. I belive POSIX says > > this shall cause an error. > > That may be what POSIX says it should cause, but in real life it causes > alot of headaches. Maybe a command line switch to ignore it would be in > order? Defaulting, of course, to POSIX. We know it causes lots of headaches, you should have seen the rash of commits after the change was made to support this. But you know what, our Makefiles for all of /usr/src and all of /usr/ports are clean now and it probably tooks less than a total of 8 man hours to do it. If your Makefile's have this in them they really should be fixed. -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Custom computers for FreeBSD