mirror of
https://gitlab.freedesktop.org/xorg/proto/xorgproto.git
synced 2026-05-07 04:58:14 +02:00
Makefile.am: make ChangeLog hook safer
Make ChangeLog hook as safe as possible.
This commit is contained in:
parent
528e313fd1
commit
cf44526713
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ CLEANFILES=ChangeLog
|
|||
.PHONY: ChangeLog
|
||||
|
||||
ChangeLog:
|
||||
(cd $(srcdir) && 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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue