From owner-freebsd-questions Fri Feb 19 17:41:51 1999 Delivered-To: freebsd-questions@freebsd.org Received: from alpha.comkey.com.au (alpha.comkey.com.au [203.9.152.215]) by hub.freebsd.org (Postfix) with SMTP id 1AA8211775 for ; Fri, 19 Feb 1999 17:40:38 -0800 (PST) (envelope-from gjb@comkey.com.au) Received: (qmail 3513 invoked by uid 1001); 20 Feb 1999 00:48:35 -0000 Message-ID: <19990220004835.3512.qmail@alpha.comkey.com.au> X-Posted-By: GBA-Post 1.04 06-Feb-1999 X-PGP-Fingerprint: 5A91 6942 8CEA 9DAB B95B C249 1CE1 493B 2B5A CE30 Date: Sat, 20 Feb 1999 10:48:35 +1000 From: Greg Black To: "Ryan, Martin" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Help with {P}make References: <36CD1C9B@ypmail.nds.telecom.com.au> In-reply-to: <36CD1C9B@ypmail.nds.telecom.com.au> of Fri, 19 Feb 1999 18:01:00 EST Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This question was far too involved and imprecise for people with limited time to wade through. Let's cut to the essentials: > TESTDIR = /home/www-hotstage/cgi-bin > INSTALLDIR = /home/www/cgi-bin > PLSCRIPTS = sites.pl sites-popup.pl > > test : $(TESTDIR)/$(PLSCRIPTS) > > install : $(INSTALLDIR)/$(PLSCRIPTS) > > $(TESTDIR)/$(PLSCRIPTS) : $(.PREFIX).pl > perl -c $(.PREFIX).pl > cp $(.PREFIX).pl $(.TARGET) We need to know (precisely) what you wanted this to do. That means: what command lines did you hope to see make generate? Then we need to know (precisely) what actually happened that was different from what you hoped. That means: what command lines did make generate instead? Finally, when trying to understand what make does, unless you're an expert (which probably means you had a wasted life), you need to stay away from "make -n" -- there are too many circumstances when that does not generate the same command lines that would be generated without the "-n". -- Greg Black To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message