[gnome-terminal/gnome-3-28] build: Fix ChangeLog rule to work on a git worktree



commit 3bef5d31c11c7c25456aea05120c1ec631a16da7
Author: Christian Persch <chpe src gnome org>
Date:   Mon Apr 8 23:18:53 2019 +0200

    build: Fix ChangeLog rule to work on a git worktree
    
    (cherry picked from commit da18671711031cf61bdceed0f66603fdc87f6cb8)

 Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/Makefile.am b/Makefile.am
index 948a24ef..14b59bac 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -75,7 +75,7 @@ MAINTAINERCLEANFILES = \
 
 # Build ChangeLog from GIT  history
 ChangeLog:
-       $(AM_V_GEN) if test -d $(top_srcdir)/.git; then \
+       $(AM_V_GEN) if test -e $(top_srcdir)/.git; then \
                GIT_DIR="$(top_srcdir)/.git" git log --stat > $@; \
        fi
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]