Permalink
Browse files

Discontinue ChangeLog

Now Changelog is built from the commit messages using git log.
  • Loading branch information...
1 parent ba679a0 commit f9af6ef58a42db2e111a2ab1ad8a3b5944cc74a8 Siyan Panayotov committed May 16, 2009
Showing with 18 additions and 0 deletions.
  1. +1 −0 .gitignore
  2. 0 ChangeLog → ChangeLog-20090517
  3. +17 −0 Makefile.am
View
@@ -1,3 +1,4 @@
+ChangeLog
Makefile
Makefile.in
*.[oa]
File renamed without changes.
View
@@ -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
+

0 comments on commit f9af6ef

Please sign in to comment.