*BSD News Article 11106


Return to BSD News archive

Received: by minnie.vk1xwt.ampr.org with NNTP
	id AA1260 ; Tue, 23 Feb 93 14:32:39 EST
Newsgroups: comp.unix.bsd
Path: sserve!manuel.anu.edu.au!munnari.oz.au!sgiblab!darwin.sura.net!bogus.sura.net!howland.reston.ans.net!usc!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!smurf.sub.org!flatlin!pilhuhn!hwr
From: hwr@pilhuhn.ka.sub.org (Heiko W.Rupp)
Subject: [386bsd] Patch for make to behave nicer
Date: Fri, 12 Feb 1993 13:48:39 GMT
Organization: The Home of the Pilhuhn
Message-ID: <1993Feb12.134839.13309@pilhuhn.ka.sub.org>
Lines: 40

When saying 
	make war, 386bsd responds 
make: do't know how to make war. Stop

I consider this ugly, so I patched it a bit:


*** job.c,1	Fri Feb  5 20:27:28 1993
--- job.c	Fri Feb  5 20:43:26 1993
***************
*** 928,935 ****
  			gn->name);
  		return (FALSE);
  	    } else {
! 		(*abortProc) ("make: don't know how to make %s. Stop",
  			     gn->name);
  		return(FALSE);
  	    }
  	}
--- 928,940 ----
  			gn->name);
  		return (FALSE);
  	    } else {
! 		if (!strcmp(gn->name,"war")) {
! 			(*abortProc) ("Make love, not %s !",
  			     gn->name);
+ 		} else {
+ 			(*abortProc) ("make: don't know how to make %s. Stop",
+ 			     gn->name);
+ 		}
  		return(FALSE);
  	    }
  	}


-- 
Heiko W.Rupp  Gerwigstr.5  7500 Kh'e 1  hwr@pilhuhn.ka.sub.org  +49 721 693642
Our father who art in heaven..  I sincerely pray that SOMEBODY
 at this table will PAY for my SHREDDED WHAT and ENGLISH MUFFIN..
 and also leave a GENEROUS TIP...