Kaydet (Commit) 29275777 authored tarafından Colomban Wendling's avatar Colomban Wendling

Generate ChangeLog from Git log

The Makefile rule comes from https://live.gnome.org/Git/ChangeLog with
slight modifications.
üst 41793a0f
This diff is collapsed.
This diff is collapsed.
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment