[gnome-commander/gcmd-1-2-8: 5/9] Add makefile rules to generate ChangeLog
- From: Piotr Eljasiak <epiotr src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-commander/gcmd-1-2-8: 5/9] Add makefile rules to generate ChangeLog
- Date: Mon, 10 Aug 2009 17:37:45 +0000 (UTC)
commit ee4e701572edb359c38f982c8dadc1f1ecbb1d02
Author: Piotr Eljasiak <epiotr src gnome org>
Date: Tue Jun 30 21:40:03 2009 +0200
Add makefile rules to generate ChangeLog
ChangeLog-20090629 | 6 ++++++
Makefile.am | 23 +++++++++++++++++++++++
doc/ChangeLog-20090629 | 6 ++++++
po/ChangeLog-20090629 | 6 ++++++
4 files changed, 41 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog-20090629 b/ChangeLog-20090629
index 4dd3ee0..a0d9175 100644
--- a/ChangeLog-20090629
+++ b/ChangeLog-20090629
@@ -1,3 +1,9 @@
+=== ChangeLog discontinued ===
+
+ With the move to git, GNOME Commander is switching from a ChangeLog file
+ to relying on commit messages to provide change history. Please
+ see README.commits for guidance on the expected message format.
+
##############################################################################
# 1.2.8 #
##############################################################################
diff --git a/Makefile.am b/Makefile.am
index 13346f4..f316547 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -9,6 +9,8 @@ EXTRA_DIST = \
README.commits \
autogen.sh \
mkinstalldirs \
+ ChangeLog-20090629 \
+ */ChangeLog-20090629 \
intltool-*.in \
xmldocs.make \
omf.make \
@@ -24,3 +26,24 @@ DISTCLEANFILES = \
DISTCHECK_CONFIGURE_FLAGS = --disable-scrollkeeper
AUTOMAKE_OPTIONS = dist-bzip2 no-dist-gzip
+
+distclean-local:
+ if test "$(srcdir)" = "."; then :; else \
+ rm -f ChangeLog; \
+ fi
+
+ChangeLog:
+ @echo Creating $@
+ @if test -d "$(srcdir)/.git"; then \
+ (GIT_DIR=$(top_srcdir)/.git ./missing --run git log gnome-commander_1_2_8.. --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
diff --git a/doc/ChangeLog-20090629 b/doc/ChangeLog-20090629
index 5182c88..c7eb463 100644
--- a/doc/ChangeLog-20090629
+++ b/doc/ChangeLog-20090629
@@ -1,3 +1,9 @@
+=== ChangeLog discontinued ===
+
+ With the move to git, GNOME Commander is switching from a ChangeLog file
+ to relying on commit messages to provide change history. Please
+ see README.commits for guidance on the expected message format.
+
2009-04-30 Piotr Eljasiak <epiotr use pl>
* doc/C/gnome-commander.xml:
diff --git a/po/ChangeLog-20090629 b/po/ChangeLog-20090629
index 69d56ce..366a2b9 100644
--- a/po/ChangeLog-20090629
+++ b/po/ChangeLog-20090629
@@ -1,3 +1,9 @@
+=== ChangeLog discontinued ===
+
+ With the move to git, GNOME Commander is switching from a ChangeLog file
+ to relying on commit messages to provide change history. Please
+ see README.commits for guidance on the expected message format.
+
2009-05-04 Piotr Eljasiak <epiotr use pl>
* hr.po: 'msgfmt --check hr.po' passes now
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]