mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 17:34:54 +01:00
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).
This commit is contained in:
parent
827c28a04e
commit
17341ec798
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue