[glade] Moved old ChangeLog to a zipped file, now generate ChangeLog at make dist time.
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glade] Moved old ChangeLog to a zipped file, now generate ChangeLog at make dist time.
- Date: Mon, 15 Apr 2013 08:28:15 +0000 (UTC)
commit 1028e9dd21e1346360c0ac48d3ab2f0bbd4ae2bf
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date: Mon Apr 15 17:27:30 2013 +0900
Moved old ChangeLog to a zipped file, now generate ChangeLog at make dist time.
ChangeLog | 14082 -----------------------------------------------------
ChangeLog.old.gz | Bin 0 -> 149641 bytes
Makefile.am | 14 +
3 files changed, 14 insertions(+), 14082 deletions(-)
---
diff --git a/ChangeLog.old.gz b/ChangeLog.old.gz
new file mode 100644
index 0000000..db5c659
Binary files /dev/null and b/ChangeLog.old.gz differ
diff --git a/Makefile.am b/Makefile.am
index f3bd3bf..5ec4456 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -15,3 +15,17 @@ DISTCLEANFILES = intltool-extract \
intltool-update
DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-introspection
+
+dist-hook:
+ @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 $(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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]