]> git.notmuchmail.org Git - notmuch/commit
Makefile.local: use $(wildcard) to check existence of ${srcdir}/.git
authorTomi Ollila <tomi.ollila@iki.fi>
Wed, 25 May 2016 21:04:32 +0000 (00:04 +0300)
committerDavid Bremner <david@tethera.net>
Sun, 4 Sep 2016 11:14:55 +0000 (08:14 -0300)
commite0e6a17675a4f4f56f2c6891aaf7eb50f404ffd2
tree94ae0dc4525dcecd4ec5a3b24f98565acc6e19a2
parent17341ec798b4cb2fe192824bcf8b7e78236e4121
Makefile.local: use $(wildcard) to check existence of ${srcdir}/.git

With this GNU Make construct one shell invocation can be skipped
and code looks shorter (narrower). This would now match to .git
being other file type than regular file or directory (or symlink
to those), but that is not a use case anyone should expect users
to do.
Makefile.local