Build: Omit pre-5.0.0 entries from the generated ChangeLog.

It makes ChangeLog significantly smaller.
This commit is contained in:
Lasse Collin 2017-04-24 19:48:47 +03:00
parent bae2467593
commit 3ea5dbd9b0
1 changed files with 2 additions and 1 deletions

View File

@ -77,7 +77,8 @@ manfiles = \
# Convert the man pages to PDF and plain text (ASCII only) formats. # Convert the man pages to PDF and plain text (ASCII only) formats.
dist-hook: dist-hook:
if test -d "$(srcdir)/.git" && type git > /dev/null 2>&1; then \ if test -d "$(srcdir)/.git" && type git > /dev/null 2>&1; then \
( cd "$(srcdir)" && git log --date=iso --stat ) \ ( cd "$(srcdir)" && git log --date=iso --stat \
b667a3ef6338a2c1db7b7706b1f6c99ea392221c^..HEAD ) \
> "$(distdir)/ChangeLog"; \ > "$(distdir)/ChangeLog"; \
fi fi
if type groff > /dev/null 2>&1 && type ps2pdf > /dev/null 2>&1; then \ if type groff > /dev/null 2>&1 && type ps2pdf > /dev/null 2>&1; then \