From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 13CBA431FAE for ; Mon, 13 Jan 2014 10:39:31 -0800 (PST) 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 9h+Z8z1TmMeQ for ; Mon, 13 Jan 2014 10:39:25 -0800 (PST) Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id F1243429E44 for ; Mon, 13 Jan 2014 10:39:17 -0800 (PST) Received: from remotemail by yantan.tethera.net with local (Exim 4.80) (envelope-from ) id 1W2mPs-0008GZ-Pp; Mon, 13 Jan 2014 14:39:16 -0400 Received: (nullmailer pid 3900 invoked by uid 1000); Mon, 13 Jan 2014 18:39:13 -0000 From: David Bremner To: Tomi Ollila , notmuch@notmuchmail.org Subject: Re: [PATCH 1/1] build: remove trailing '/.' when doing mkdir -p .deps/. In-Reply-To: <1383487535-21597-1-git-send-email-tomi.ollila@iki.fi> References: <1383487535-21597-1-git-send-email-tomi.ollila@iki.fi> User-Agent: Notmuch/0.17 (http://notmuchmail.org) Emacs/24.3.1 (x86_64-pc-linux-gnu) Date: Mon, 13 Jan 2014 14:39:13 -0400 Message-ID: <87iotnk9pq.fsf@zancas.localnet> MIME-Version: 1.0 Content-Type: text/plain Cc: tomi.ollila@iki.fi 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: Mon, 13 Jan 2014 18:39:31 -0000 Tomi Ollila writes: > When make variable $@ does not contain directory part, $(@D) > resolves as '.'. In this case .deps/$(@D) is '.deps/.' > In some systems `mkdir [-p] directory/.` fails. > To make this compatible with more system substitute trailing > '/.' (slashdot) with '' (empty string) whenever it occurs there. pushed. d