little better error messages
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Fri, 11 Jan 1991 09:16:53 +0000 (01:16 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Fri, 11 Jan 1991 09:16:53 +0000 (01:16 -0800)
SCCS-vsn: usr.bin/make/job.c 5.14

usr/src/usr.bin/make/job.c

index 71b4d6c..2a0e1cf 100644 (file)
@@ -11,7 +11,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)job.c      5.13 (Berkeley) %G%";
+static char sccsid[] = "@(#)job.c      5.14 (Berkeley) %G%";
 #endif /* not lint */
 
 /*-
 #endif /* not lint */
 
 /*-
@@ -885,14 +885,14 @@ Job_CheckCommands (gn, abortProc)
             * this node's parents so they never get examined. 
             */
            if (gn->type & OP_OPTIONAL) {
             * this node's parents so they never get examined. 
             */
            if (gn->type & OP_OPTIONAL) {
-               printf ("Can't figure out how to make %s (ignored)\n",
+               printf ("make: don't know how to make %s (ignored)\n",
                        gn->name);
            } else if (keepgoing) {
                        gn->name);
            } else if (keepgoing) {
-               printf ("Can't figure out how to make %s (continuing)\n",
+               printf ("make: don't know how to make %s (continuing)\n",
                        gn->name);
                return (FALSE);
            } else {
                        gn->name);
                return (FALSE);
            } else {
-               (*abortProc) ("Can't figure out how to make %s. Stop",
+               (*abortProc) ("make: don't know how to make %s. Stop",
                             gn->name);
                return(FALSE);
            }
                             gn->name);
                return(FALSE);
            }