Date: Sat, 28 Dec 2002 15:53:16 -0800 From: Jos Backus <jos@catnook.com> To: freebsd-hackers@freebsd.org Subject: make -C and ${.CURDIR} Message-ID: <20021228235338.GA881@lizzy.catnook.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021228235338.GA881>