mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-31 16:51:08 +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: ChangeLog
|
||||||
ChangeLog: FORCE
|
ChangeLog: FORCE
|
||||||
@if test -d "$(srcdir)/.git"; then \
|
@if test -d "$(top_srcdir)/.git"; then \
|
||||||
echo "creating ChangeLog" && \
|
echo "creating ChangeLog" && \
|
||||||
( cd "$(top_srcdir)" && \
|
( cd "$(top_srcdir)" && \
|
||||||
echo 'This file is generated by Makefile; do not edit.'; \
|
echo 'This file is generated by Makefile; do not edit.'; \
|
||||||
echo; \
|
echo; \
|
||||||
$(top_srcdir)/missing --run git log --abbrev-commit --stat --no-merges \
|
./missing --run git log --abbrev-commit --stat --no-merges \
|
||||||
) > $(top_builddir)/ChangeLog; \
|
) > $(top_builddir)/ChangeLog; \
|
||||||
else \
|
else \
|
||||||
echo 'A git clone is required to generate ChangeLog' >&2; \
|
echo 'A git clone is required to generate ChangeLog' >&2; \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue