From owner-freebsd-hackers@FreeBSD.ORG Fri Jul 29 07:42:32 2011 Return-Path: Delivered-To: hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9DA31106564A for ; Fri, 29 Jul 2011 07:42:32 +0000 (UTC) (envelope-from phk@phk.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id 25E028FC16 for ; Fri, 29 Jul 2011 07:42:31 +0000 (UTC) Received: from critter.freebsd.dk (critter.freebsd.dk [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id B6C985E45; Fri, 29 Jul 2011 07:27:06 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id p6T7R6Eq005605; Fri, 29 Jul 2011 07:27:06 GMT (envelope-from phk@phk.freebsd.dk) To: "Mikhail T." From: "Poul-Henning Kamp" In-Reply-To: Your message of "Thu, 28 Jul 2011 14:47:53 -0400." <4E31AED9.4000105@aldan.algebra.com> Content-Type: text/plain; charset=ISO-8859-1 Date: Fri, 29 Jul 2011 07:27:06 +0000 Message-ID: <5604.1311924426@critter.freebsd.dk> X-Mailman-Approved-At: Fri, 29 Jul 2011 11:06:06 +0000 Cc: hackers@FreeBSD.org Subject: Re: A style proposal for referring to upper-level directories in Makefiles X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jul 2011 07:42:32 -0000 In message <4E31AED9.4000105@aldan.algebra.com>, "Mikhail T." writes: >The most common method to refer to the upper directory in Makefile is as >${.CURDIR}/.. > >I'd like to propose we begin using ${.CURDIR:H} instead. This will make it even harder for people who try to compile our bits on alien systems without bmake. I am not sure if that is a concern we should care about. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.