diff options
author | Daniel Stone <daniel@fooishbar.org> | 2006-12-06 18:51:59 +0200 |
---|---|---|
committer | Daniel Stone <daniels@endtroducing.fooishbar.org> | 2006-12-06 18:51:59 +0200 |
commit | 8172528bb894856aa5b133f61444294dc5a347e6 (patch) | |
tree | 41f53d9c8c6f6ee9908ab6d87d7ce16e300a32aa | |
parent | 5ffb704b1df9ec44a448d53d4c20b9d4c5d825d4 (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 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 |