[gcompris/gcomprixogoo] Create the ChangeLog automatically from git log.
- From: Bruno Coudoin <bcoudoin src gnome org>
- To: svn-commits-list gnome org
- Subject: [gcompris/gcomprixogoo] Create the ChangeLog automatically from git log.
- Date: Mon, 13 Jul 2009 13:10:37 +0000 (UTC)
commit 10f0529c02b5d88a2e177860002135745ce04bbe
Author: Bruno Coudoin <bruno coudoin free fr>
Date: Mon Jul 13 15:01:09 2009 +0200
Create the ChangeLog automatically from git log.
Makefile.am | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 2144d74..ed41aa1 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -64,6 +64,18 @@ dist-hook:
$(mkinstalldirs) $(distdir)/$(PACKAGE_DATA_DIR); \
cd $(srcdir)/$(PACKAGE_DATA_DIR) ; tar cf - --exclude "Makefile.in" --exclude "Makefile" --exclude "*~" --exclude ".*" --exclude .svn * | ( cd ../$(distdir)/$(PACKAGE_DATA_DIR) ; tar xf -) ; cd .. ; \
fi
+ @if test -d "$(srcdir)/.git"; \
+ then \
+ echo Creating ChangeLog && \
+ ( cd "$(top_srcdir)" && \
+ echo '# Generated by Makefile. Do not edit.'; echo; \
+ $(top_srcdir)/missing --run git log --stat ) > ChangeLog.tmp \
+ && mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \
+ || ( rm -f ChangeLog.tmp ; \
+ echo Failed to generate ChangeLog >&2 ); \
+ else \
+ echo A git clone is required to generate a ChangeLog >&2; \
+ fi
CONFIG_CLEAN_FILES = gcompris.desktop gcompris-edit.desktop config.h.mingw
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]