summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2006-12-06 18:51:59 +0200
committerDaniel Stone <daniels@endtroducing.fooishbar.org>2006-12-06 18:51:59 +0200
commit8172528bb894856aa5b133f61444294dc5a347e6 (patch)
tree41f53d9c8c6f6ee9908ab6d87d7ce16e300a32aa /Makefile.am
parent5ffb704b1df9ec44a448d53d4c20b9d4c5d825d4 (diff)
downloadxorg-lib-libxtrans-8172528bb894856aa5b133f61444294dc5a347e6.tar.gz
Makefile.am: make ChangeLog hook safer
Make ChangeLog hook as safe as possible.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index b2a9f52..b9cb084 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -24,6 +24,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