From owner-freebsd-hackers Sat Dec 28 15:53:18 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 899A837B405 for ; Sat, 28 Dec 2002 15:53:17 -0800 (PST) Received: from w250.z064001178.sjc-ca.dsl.cnc.net (adsl-66.218.45.239.dslextreme.com [66.218.45.239]) by mx1.FreeBSD.org (Postfix) with SMTP id F0ACB43EB2 for ; Sat, 28 Dec 2002 15:53:16 -0800 (PST) (envelope-from jos@catnook.com) Received: (qmail 73330 invoked by uid 1000); 28 Dec 2002 23:53:38 -0000 Date: Sat, 28 Dec 2002 15:53:16 -0800 From: Jos Backus To: freebsd-hackers@freebsd.org Subject: make -C and ${.CURDIR} Message-ID: <20021228235338.GA881@lizzy.catnook.com> Reply-To: jos@catnook.com Mail-Followup-To: freebsd-hackers@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.1i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Consider: lizzy:/tmp% cat foo/Makefile bar: @echo curdir is ${.CURDIR} lizzy:/tmp% make -C foo bar curdir is /tmp lizzy:/tmp% Would it not make more sense for .CURDIR to be set to /tmp/foo? As it stands, /tmp# make -C /usr/src world fails because of this. -- Jos Backus _/ _/_/_/ Sunnyvale, CA _/ _/ _/ _/ _/_/_/ _/ _/ _/ _/ jos at catnook.com _/_/ _/_/_/ require 'std/disclaimer' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message