]> git.notmuchmail.org Git - notmuch/commit
build: remove trailing '/.' when doing mkdir -p .deps/.
authorTomi Ollila <tomi.ollila@iki.fi>
Sun, 3 Nov 2013 14:05:35 +0000 (16:05 +0200)
committerDavid Bremner <david@tethera.net>
Mon, 13 Jan 2014 18:12:15 +0000 (14:12 -0400)
commita7e072f2773cffa35ddcb5a3c6dc4563917cc93f
treef3837df96e0abbf041e48ab51a9eeb99121b9574
parentf2a3d9799d68d567d2bdd43827ac158885a4c11b
build: remove trailing '/.' when doing mkdir -p .deps/.

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.
Makefile.local