Bug 554 - make chokes on empty rules + fix
Summary: make chokes on empty rules + fix
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1995-06-23 08:12 UTC by stefan Petri
Modified: 1995-06-23 08:12 UTC (History)
0 users

See Also:


Attachments
file.diff (523 bytes, patch)
1995-06-23 08:12 UTC, stefan Petri
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description stefan Petri 1995-06-23 08:12:42 UTC
	make aborts with fatal error if a Makefile rule line contains a
	tab followed by an emtpy shell command line. This is very annoying,
	because the Makefiles in almost every piece of software on the
	net contain such lines, notably Makefiles that are generated by
	the gnu configure utility. The correctness of such lines might
	be arguable, but since every other version of make simply
	ignores such lines, I propose the following fix, which will
	print out a warning about such a line, but will continue to
	make the target.

	[send-pr did not like ``Severity: seriuosly annoying'' ;-]

How-To-Repeat: 
	Creat a Makefile with only a tabulator in a rule line, then
	invoke make.
Comment 1 Paul Richards freebsd_committer freebsd_triage 1995-06-23 18:54:33 UTC
State Changed
From-To: open->closed

This is already fixed in current according to Ollivier Robert (23 
June 95).  Since this was a backlogged PR then it entered the gnats 
database long after the problem was fixed which is why there's no 
reference to the cvs entry.