diff options
author | Matthieu Herrb <matthieu.herrb@laas.fr> | 2007-01-02 16:09:45 +0100 |
---|---|---|
committer | Matthieu Herrb <matthieu@reactor.herrb.com> | 2007-01-02 16:09:45 +0100 |
commit | 09d7df64c837c819c7feb88891b8845ab660c150 (patch) | |
tree | 445c8f7e27d254e89e173a7c1bc85fe460903cc4 /Makefile.am | |
parent | 1ac8c63bba9a65a706334aa98d8bdbc489cc2ab6 (diff) |
Makefile.am: make ChangeLog hook saferxf86-video-wsfb-0.2.1
Make ChangeLog hook as safe as possible
Bump patchlevel.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index d98c293..bfcf68d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -24,7 +24,12 @@ SUBDIRS = src man .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 |