Re: [PATCH 1/1] build: remove trailing '/.' when doing mkdir -p .deps/.

Subject: Re: [PATCH 1/1] build: remove trailing '/.' when doing mkdir -p .deps/.

Date: Mon, 13 Jan 2014 14:39:13 -0400

To: Tomi Ollila, notmuch@notmuchmail.org

Cc: tomi.ollila@iki.fi

From: David Bremner


Tomi Ollila <tomi.ollila@iki.fi> 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

Thread: