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



commit da18671711031cf61bdceed0f66603fdc87f6cb8
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

 Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/Makefile.am b/Makefile.am
index cb54296c..cacdc584 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]