Generate ChangeLog from Git log

The Makefile rule comes from https://live.gnome.org/Git/ChangeLog with
slight modifications.
master
Colomban Wendling 2012-06-17 19:35:12 +02:00
parent 41793a0f7b
commit 292757777c
3 changed files with 6892 additions and 6875 deletions

6877
ChangeLog

File diff suppressed because it is too large Load Diff

6875
ChangeLog.pre-1-22 Normal file

File diff suppressed because it is too large Load Diff

View File

@ -34,6 +34,7 @@ EXTRA_DIST = \
geany.pc.in \
geany.spec \
ChangeLog.pre-0-17 \
ChangeLog.pre-1-22 \
HACKING \
README.I18N \
README.Packagers \
@ -85,6 +86,20 @@ install-data-only:
done
dist-hook:
@if test -d "$(top_srcdir)/.git"; then \
echo ' GEN ChangeLog'; \
( cd "$(top_srcdir)" && \
echo '# Generated by Makefile. Do not edit.' && echo && \
git log --stat 0.21.0.. ) > ChangeLog.tmp \
&& mv -f ChangeLog.tmp "$(distdir)/ChangeLog" \
|| ( rm -f ChangeLog.tmp ; \
echo 'Failed to generate ChangeLog' >&2 ); \
else \
echo 'A git clone is required to generate a ChangeLog' >&2; \
fi
BZIP2_ENV =--best
dist-bzip2: distdir