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



commit f13928ff4c77eb691d07a526d35c5be183315828
Author: Christian Persch <chpe src gnome org>
Date:   Mon Sep 9 21:43:52 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 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]