mirror of
https://github.com/X11Libre/xf86-video-mach64.git
synced 2026-03-24 01:24:33 +00:00
Makefile.am: fix changelog hook
Make changelog hook safe for all situations.
This commit is contained in:
committed by
Daniel Stone
parent
f2a9d2d61a
commit
7611f14dc6
@@ -32,9 +32,7 @@ endif
|
||||
|
||||
EXTRA_DIST = README.ati README.r128 README.ati.sgml README.r128.sgml ChangeLog
|
||||
|
||||
# Always regenerate the changelog
|
||||
CLEANFILES = ChangeLog
|
||||
ChangeLog: FORCE
|
||||
git-log > ChangeLog
|
||||
FORCE:
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user