From f9af6ef58a42db2e111a2ab1ad8a3b5944cc74a8 Mon Sep 17 00:00:00 2001 From: Siyan Panayotov Date: Sun, 17 May 2009 01:32:42 +0300 Subject: [PATCH] Discontinue ChangeLog Now Changelog is built from the commit messages using git log. --- .gitignore | 1 + ChangeLog => ChangeLog-20090517 | 0 Makefile.am | 17 +++++++++++++++++ 3 files changed, 18 insertions(+) rename ChangeLog => ChangeLog-20090517 (100%) diff --git a/.gitignore b/.gitignore index ee94105..ab8eba6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +ChangeLog Makefile Makefile.in *.[oa] diff --git a/ChangeLog b/ChangeLog-20090517 similarity index 100% rename from ChangeLog rename to ChangeLog-20090517 diff --git a/Makefile.am b/Makefile.am index 3284261..06b5eb5 100755 --- a/Makefile.am +++ b/Makefile.am @@ -7,3 +7,20 @@ EXTRA_DIST = intltool-extract.in \ DISTCLEANFILES = intltool-extract \ intltool-merge \ intltool-update + +ChangeLog: + @echo Creating $@ + @if test -d "$(srcdir)/.git"; then \ + (GIT_DIR=$(top_srcdir)/.git ./missing --run git log ef4ee9ca347.. --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 +