summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Cloos <cloos@jhcloos.com>2007-12-06 16:37:25 -0500
committerJames Cloos <cloos@jhcloos.com>2007-12-06 16:37:25 -0500
commitb2195bb0c4369f00316fdd1e21ef7e2541165cfe (patch)
treeb1d92c9f945f1f4356ef335b7c5fd698653416df
parenta3c0354a29b71e176df879c95bbc879b63c06649 (diff)
Replace static ChangeLog with dist-hook to generate from git log
-rw-r--r--ChangeLog37
-rw-r--r--Makefile.am10
2 files changed, 10 insertions, 37 deletions
diff --git a/ChangeLog b/ChangeLog
deleted file mode 100644
index 540e528..0000000
--- a/ChangeLog
+++ /dev/null
@@ -1,37 +0,0 @@
-2005-12-20 Kevin E. Martin <kem-at-freedesktop-dot-org>
-
- * configure.ac:
- Update package version for X11R7 release.
-
-2005-12-14 Kevin E. Martin <kem-at-freedesktop-dot-org>
-
- * configure.ac:
- Update package version number for final X11R7 release candidate.
-
-2005-12-03 Kevin E. Martin <kem-at-freedesktop-dot-org>
-
- * configure.ac:
- Update package version number for X11R7 RC3 release.
-
-2005-11-19 Alan Coopersmith <alan.coopersmith@sun.com>
-
- * configure.ac:
- Add dependencies on xp module
-
-2005-11-19 Kevin E. Martin <kem-at-freedesktop-dot-org>
-
- * configure.ac:
- Update dependencies to work with separate build roots.
-
-2005-10-18 Kevin E. Martin <kem-at-freedesktop-dot-org>
-
- * configure.ac:
- Update package version number for RC1 release.
-
-2005-10-05 Kevin E. Martin <kem-at-freedesktop-dot-org>
-
- * xphelloworld/Makefile.am:
- * xpsimplehelloworld/Makefile.am:
- * xpxmhelloworld/Makefile.am:
- * xpxthelloworld/Makefile.am:
- Add .sgml files to EXTRA_DIST
diff --git a/Makefile.am b/Makefile.am
index 9f7d128..103ae0b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -26,3 +26,13 @@ MOTIFAPPS=
endif
SUBDIRS = $(MOTIFAPPS) xphelloworld xpsimplehelloworld xpxthelloworld
+
+EXTRA_DIST += ChangeLog
+MAINTAINERCLEANFILES = ChangeLog
+
+.PHONY: ChangeLog
+
+ChangeLog:
+ (GIT_DIR=$(top_srcdir)/.git git-log > .changelog.tmp && mv .changelog.tmp ChangeLog; rm -f .changelog.tmp) || (touch ChangeLog; echo 'git directory not found: installing possibly empty changelog.' >&2)
+
+dist-hook: ChangeLog