[epiphany] build: Fix misleading changelog generation code
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] build: Fix misleading changelog generation code
- Date: Thu, 30 Jun 2016 18:54:57 +0000 (UTC)
commit bae54102126a0ba9d13f8ff1a9e1940f440f8f66
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Wed Jun 29 19:57:07 2016 -0500
build: Fix misleading changelog generation code
$(top_builddir) is defined as . and so it's always the cwd, hence the
ChangeLog is always being generated in $(srcdir). Make it clear that's
what's going on.
https://bugzilla.gnome.org/show_bug.cgi?id=768218
Makefile.am | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index ad08507..d37365a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -16,9 +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 \
- cd $(top_srcdir); \
- git log --no-decorate --stat > $(top_builddir)/$@; \
- cd $(top_builddir); \
+ pushd $(top_srcdir); \
+ git log --no-decorate --stat > $@; \
+ popd; \
fi
dist: ChangeLog
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]