[totem-pl-parser] build: Fix ChangeLog generation with srcdir != builddir



commit 867cef3afc22011019d8b0f5111e9bb5f7a8b4b8
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Sep 20 11:46:52 2016 +0200

    build: Fix ChangeLog generation with srcdir != builddir

 Makefile.am |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index a9cda79..5ab25ad 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -49,7 +49,9 @@ DISTCHECK_CONFIGURE_FLAGS = --disable-scrollkeeper --enable-gtk-doc --enable-int
 # Build ChangeLog from GIT history
 ChangeLog:
        @if test -f $(top_srcdir)/.git/HEAD; then \
+               pushd $(top_srcdir) ; \
                git log --stat --after="Mon Jul 20 23:47:57 2009" > $@; \
+               popd ; \
        fi
 
 dist: ChangeLog


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