diff options
author | Daniel Stone <daniel@fooishbar.org> | 2006-12-06 19:01:52 +0200 |
---|---|---|
committer | Daniel Stone <daniels@endtroducing.fooishbar.org> | 2006-12-06 19:01:52 +0200 |
commit | 3bc9148509a058647a9c43d0e2668c94ac579884 (patch) | |
tree | b3674d8e78994476ddac6f92129fe71c0a53a5dc | |
parent | 75a8fce621adecd50db129c839a578df630137db (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 2df13e7..e04b7ae 100644 --- a/Makefile.am +++ b/Makefile.am @@ -179,7 +179,7 @@ endif LINT .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 |