aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
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 /Makefile.am
parentUpdate COPYING with the correct copyright info. (diff)
downloadxf86-input-evdev-ec23c6b2f550f2679226da907c1d022295d453f1.tar.gz
xf86-input-evdev-ec23c6b2f550f2679226da907c1d022295d453f1.tar.bz2
xf86-input-evdev-ec23c6b2f550f2679226da907c1d022295d453f1.zip
Remove static ChangeLog, autogenerate as part of make dist.
Hook taken from xserver's Makefile.am
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am12
1 files changed, 12 insertions, 0 deletions
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