Commit f14618d6 authored by Roman Joost's avatar Roman Joost

Generate ChangeLogs when creating a release.

The ChangeLog is now created by using git when a release is made. The
current ChangeLog was renamed to reflect the changes on the manual to
past GIMP 2.6 versions.
parent 8b9fecae
This diff is collapsed.
This diff is collapsed.
......@@ -819,11 +819,26 @@ endif
all-local: html-local index AUTHORS
dist-hook: dist-copy-images
dist-hook: dist-copy-images generate-changelog
## Note that number of images is *huge*, and if we stick image files in
## EXTRA_DIST we get an "Argument list too long" error. So we handle it here.
@if test -d "$(srcdir)/.git"; \
then \
echo Creating ChangeLog && \
( cd "$(top_srcdir)" && \
echo '# Generated by Makefile. Do not edit.'; echo; \
$(top_srcdir)/missing --run git log --stat ) > ChangeLog.tmp \
&& mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \
|| ( rm -f ChangeLog.tmp ; \
echo Failed to generate ChangeLog >&2 ); \
else \
echo A git clone is required to generate a ChangeLog >&2; \
$(cmd) test -d "$(top_srcdir)/images" && test -d "$(distdir)"
@echo "Copying images into distdir $(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