[gedit] Autogenerated ChangeLog
- From: Paolo Borelli <pborelli src gnome org>
- To: svn-commits-list gnome org
- Subject: [gedit] Autogenerated ChangeLog
- Date: Sat, 18 Apr 2009 09:38:21 -0400 (EDT)
commit d0a70945f322a447ad92f6da66c42930e3347bb8
Author: Paolo Borelli <porelli gnome org>
Date: Sat Apr 18 15:39:22 2009 +0200
Autogenerated ChangeLog
Actually add the rule to generate the ChangeLog... yay git
---
Makefile.am | 21 +++++++++++++++++++++
1 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index e2a21c6..5f9a263 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -25,3 +25,24 @@ DISTCLEANFILES = \
intltool-update
DISTCHECK_CONFIGURE_FLAGS = --disable-scrollkeeper --enable-gtk-doc
+
+distclean-local:
+ if test $(srdcir) = .; then :; else \
+ rm -f ChangeLog; \
+ fi
+
+ChangeLog:
+ @echo Creating $@
+ @if test -d "$(srcdir)/.git"; then \
+ (GIT_DIR=$(top_srcdir)/.git ./missing --run git log GEDIT_2_26_1^^.. --stat -M -C --name-status --date=short --no-color) | fmt --split-only > $ tmp \
+ && mv -f $ tmp $@ \
+ || ($(RM) $ tmp; \
+ echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \
+ (test -f $@ || echo git-log is required to generate this file >> $@)); \
+ else \
+ test -f $@ || \
+ (echo A git checkout and git-log is required to generate ChangeLog >&2 && \
+ echo A git checkout and git-log is required to generate this file >> $@); \
+ fi
+
+.PHONY: ChangeLog
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]