aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2006-12-06 18:50:15 +0200
committerDaniel Stone <daniels@endtroducing.fooishbar.org>2006-12-06 18:50:15 +0200
commit9f3be57929048950ad0e03cfef44b5336c38aab3 (patch)
tree2a650b5d8c8dddf9a5b495c84a4ccfb70680f6f2
parentbump to 1.1.4 (diff)
downloadxf86-input-evdev-9f3be57929048950ad0e03cfef44b5336c38aab3.tar.gz
xf86-input-evdev-9f3be57929048950ad0e03cfef44b5336c38aab3.tar.bz2
xf86-input-evdev-9f3be57929048950ad0e03cfef44b5336c38aab3.zip
Makefile.am: make ChangeLog hook safer
Make ChangeLog hook as safe as possible.
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index c8fa46d..b04f7aa 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -28,6 +28,6 @@ CLEANFILES=ChangeLog
.PHONY: ChangeLog
ChangeLog:
- git-log > 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