'make' prints an extra leading `make: ' and extra trailing newline if
there is no target to make. % make make: make: no target to make. % Beause the function Punt() in main.c takes care of leading 'make:' and trailing newline, so, there is no need to pass explicitly. Submitted by: enami@ba2.so-net.or.jp Obtained from: NetBSD GNATS
This commit is contained in:
parent
f12c3c93de
commit
fe6ab298ab
@ -2606,7 +2606,7 @@ Parse_MainName()
|
||||
main = Lst_Init (FALSE);
|
||||
|
||||
if (mainNode == NILGNODE) {
|
||||
Punt ("make: no target to make.\n");
|
||||
Punt ("no target to make.");
|
||||
/*NOTREACHED*/
|
||||
} else if (mainNode->type & OP_DOUBLEDEP) {
|
||||
(void) Lst_AtEnd (main, (ClientData)mainNode);
|
||||
|
Loading…
Reference in New Issue
Block a user