summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2008-07-03 15:01:32 +0930
committerPeter Hutterer <peter.hutterer@who-t.net>2008-07-03 15:01:32 +0930
commitec23c6b2f550f2679226da907c1d022295d453f1 (patch)
treecf6f2dee9bee23ec64c90432f54690b5253b77fa
parent18d70d796fe68116907d86fc27ed77528a51ff1d (diff)
Remove static ChangeLog, autogenerate as part of make dist.
Hook taken from xserver's Makefile.am
-rw-r--r--ChangeLog47
-rw-r--r--Makefile.am12
2 files changed, 12 insertions, 47 deletions
diff --git a/ChangeLog b/ChangeLog
deleted file mode 100644
index 2c448ae..0000000
--- a/ChangeLog
+++ /dev/null
@@ -1,47 +0,0 @@
-2006-01-09 David Nusinow,,, <set EMAIL_ADDRESS environment variable>
-
- * man/Makefile.am:
- * man/evdev.man:
- Bugzilla #968 <https://bugs.freedesktop.org/show_bug.cgi?id=968>
- Patch #4301 <https://bugs.freedesktop.org/attachment.cgi?id=4301>
- Add evdev manpage
-
-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-06 Kevin E. Martin <kem-at-freedesktop-dot-org>
-
- * man/Makefile.am:
- Change *man_SOURCES ==> *man_PRE to fix autotools warnings.
-
-2005-12-03 Kevin E. Martin <kem-at-freedesktop-dot-org>
-
- * configure.ac:
- Update package version number for X11R7 RC3 release.
-
-2005-12-01 Kevin E. Martin <kem-at-freedesktop-dot-org>
-
- * configure.ac:
- Remove extraneous AC_MSG_RESULT.
-
-2005-11-29 Adam Jackson <ajax@freedesktop.org>
-
- * configure.ac:
- Only build dlloader modules by default.
-
-2005-11-09 Kevin E. Martin <kem-at-freedesktop-dot-org>
-
- * configure.ac:
- Update package version number for X11R7 RC2 release.
-
-2005-11-01 Kevin E. Martin <kem-at-freedesktop-dot-org>
-
- * configure.ac:
- Update pkgcheck dependencies to work with separate build roots.
diff --git a/Makefile.am b/Makefile.am
index 7052905..11064e0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -20,3 +20,15 @@
AUTOMAKE_OPTIONS = foreign
SUBDIRS = src man
+
+EXTRA_DIST = ChangeLog autogen.sh
+
+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