diff options
author | Daniel Stone <daniel@fooishbar.org> | 2006-12-06 18:49:28 +0200 |
---|---|---|
committer | Daniel Stone <daniels@endtroducing.fooishbar.org> | 2006-12-06 18:49:28 +0200 |
commit | 397370ab1099ae1231c9ae709c91a0ad74c82f2b (patch) | |
tree | 0899004242d60e8a36c64971b6b67d4f50a3d745 | |
parent | 59db4ddcaee381595e4a134de3cc5f6eb8de4fe8 (diff) |
Makefile.am: make ChangeLog hook safer
Make ChangeLog hook as safe as possible.
-rw-r--r-- | Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index b30de9b..4f31078 100644 --- a/Makefile.am +++ b/Makefile.am @@ -33,6 +33,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 |