[epiphany/gnome-3-20] Fix ChangeLog generation for srcdir != builddir



commit 44dd3b90505c931a7cff5833760380e8b634fc02
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Mon Jun 20 13:53:03 2016 -0500

    Fix ChangeLog generation for srcdir != builddir

 Makefile.am |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index a042c8d..ad08507 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -16,7 +16,9 @@ distuninstallcheck_listfiles = find . -type f -print | grep -v 'icon-theme.cache
 # Build ChangeLog from git history
 ChangeLog:
        @if test -f $(top_srcdir)/.git/HEAD; then \
-               git log --no-decorate --stat > $@; \
+               cd $(top_srcdir); \
+               git log --no-decorate --stat > $(top_builddir)/$@; \
+               cd $(top_builddir); \
        fi
 
 dist: ChangeLog


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