aboutsummaryrefslogtreecommitdiff
path: root/Makefile.local
diff options
context:
space:
mode:
authorTomi Ollila <tomi.ollila@iki.fi>2016-05-26 00:04:31 +0300
committerDavid Bremner <david@tethera.net>2016-09-04 08:14:46 -0300
commit17341ec798b4cb2fe192824bcf8b7e78236e4121 (patch)
tree2ecc5e5a953bd3ef85860065de0d3d5436eaf61d /Makefile.local
parent827c28a04effc58f29e751788690d2f4b434902d (diff)
Makefile.local: make IS_GIT simply expanded
By using ':=' while setting IS_GIT it is expanded to 'yes' or 'no' at that point (and not every time when $(IS_GIT) is referenced).
Diffstat (limited to 'Makefile.local')
-rw-r--r--Makefile.local2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.local b/Makefile.local
index f2ad0c12..20041947 100644
--- a/Makefile.local
+++ b/Makefile.local
@@ -10,7 +10,7 @@
# repository), we let git append identification of the actual commit.
PACKAGE=notmuch
-IS_GIT=$(shell if [ -d ${srcdir}/.git -o -f ${srcdir}/.git ] ; then echo yes ; else echo no; fi)
+IS_GIT:=$(shell if [ -d ${srcdir}/.git -o -f ${srcdir}/.git ] ; then echo yes ; else echo no; fi)
ifeq ($(IS_GIT),yes)
DATE:=$(shell git --git-dir=${srcdir}/.git log --date=short -1 --pretty=format:%cd)