aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index f9d5e29b8..8c139365b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -36,8 +36,10 @@ DISTCHECK_CONFIGURE_FLAGS = \
# Ignore gtk theme cache files on distcheck
distuninstallcheck_listfiles = find . -type f -print | grep -v 'icon-theme.cache'
-ChangeLog: $(top_srcdir)/.git/HEAD
- git log --stat > $@
+ChangeLog:
+ @if test -f $(top_srcdir)/.git/HEAD; then
+ git log --stat > $@; \
+ fi
dist: ChangeLog