mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-22 12:31:10 +00:00
regularize the changelog rule, make it work for out-of-tree.
This commit is contained in:
parent
3c76768b01
commit
9bae615577
1 changed files with 2 additions and 2 deletions
|
@ -17,12 +17,12 @@ NOCONV_DIST= $(distdir)/include/win32/resources/icon1.ico
|
|||
|
||||
changelog: ChangeLog
|
||||
ChangeLog: FORCE
|
||||
@if test -d "$(srcdir)/.git"; then \
|
||||
@if test -d "$(top_srcdir)/.git"; then \
|
||||
echo "creating ChangeLog" && \
|
||||
( cd "$(top_srcdir)" && \
|
||||
echo 'This file is generated by Makefile; do not edit.'; \
|
||||
echo; \
|
||||
$(top_srcdir)/missing --run git log --abbrev-commit --stat --no-merges \
|
||||
./missing --run git log --abbrev-commit --stat --no-merges \
|
||||
) > $(top_builddir)/ChangeLog; \
|
||||
else \
|
||||
echo 'A git clone is required to generate ChangeLog' >&2; \
|
||||
|
|
Loading…
Reference in a new issue