Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id B0E70431FB6 for ; Wed, 18 Apr 2012 08:40:51 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rjyjaABWOl8Q for ; Wed, 18 Apr 2012 08:40:47 -0700 (PDT) Received: from guru.guru-group.fi (guru-group.fi [87.108.86.66]) by olra.theworths.org (Postfix) with ESMTP id 1167B431FAE for ; Wed, 18 Apr 2012 08:40:47 -0700 (PDT) Received: by guru.guru-group.fi (Postfix, from userid 501) id D642768055; Wed, 18 Apr 2012 18:40:42 +0300 (EEST) From: Tomi Ollila To: David Bremner , Felipe Contreras Subject: Re: [PATCH] vim: simplify build In-Reply-To: <871unlgk7h.fsf@zancas.localnet> References: <1334751115-7216-1-git-send-email-felipe.contreras@gmail.com> <871unlgk7h.fsf@zancas.localnet> User-Agent: Notmuch/0.12+113~gde05574 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-unknown-linux-gnu) X-Face: HhBM'cA~ MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: notmuch@notmuchmail.org X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Apr 2012 15:40:51 -0000 On Wed, Apr 18 2012, David Bremner wrote: > Felipe Contreras writes: >>> If this is not an issue, then LGTM. >> >> I don't know, I have always used $(PWD), unless anybody else prefers >> $(CURDIR), I'll push that. > > I think CURDIR is better; if only because it is the standard (GNU) make > way of doing things [1]. I'm not sure if there is a functional > difference or not. At least CURDIR definitely works with make -C [2] I read some web pages and then did an experiment; GNU make (v 3.77+) has builtin variable $(CURDIR). $(PWD) gets value from environment: doing the following: $ cat > foo.mk < d Tomi > > > [1]: http://www.gnu.org/software/make/manual/make.html#Recursion > [2]: http://www.gnu.org/software/make/manual/make.html#Options-Summary > _______________________________________________ > notmuch mailing list > notmuch@notmuchmail.org > http://notmuchmail.org/mailman/listinfo/notmuch