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



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

    Fix ChangeLog generation for srcdir != builddir
    
    And limit size of the changelog file

 Makefile.am |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 46dca29..de09e5f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -15,7 +15,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 > $@; \
+               pushd $(top_srcdir); \
+               git log --max-count=500 --no-decorate --stat > $(abs_top_builddir)/$@; \
+               popd; \
        fi
 
 dist: ChangeLog


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