Skip to content
Snippets Groups Projects
Commit 42b2ca99 authored by Philip Withnall's avatar Philip Withnall
Browse files

build: Use AX_GENERATE_CHANGELOG to generate ChangeLog


This removes some Makefile.am rules and simplifies the build system a
bit.

Signed-off-by: default avatarPhilip Withnall <philip.withnall@collabora.co.uk>
Reviewed-by: default avatarSjoerd Simons <sjoerd.simons@collabora.co.uk>
Differential Revision: https://phabricator.apertis.org/D4912
parent 9f8057c8
Branches 16.12
No related tags found
No related merge requests found
The ChangeLog is auto-generated when releasing.
If you are seeing this, use 'git log' for a detailed list of changes.
...@@ -754,23 +754,7 @@ EXTRA_DIST += \ ...@@ -754,23 +754,7 @@ EXTRA_DIST += \
$(NULL) $(NULL)
# ChangeLog # ChangeLog
ChangeLog: $(srcdir)/ChangeLog @GENERATE_CHANGELOG_RULES@
$(srcdir)/ChangeLog: dist-hook: dist-ChangeLog
@echo Creating $@
@if test -d "$(srcdir)/.git"; then \
(GIT_DIR=$(top_srcdir)/.git ./build-aux/missing --run \
git log --stat) | fmt --split-only > $@.tmp \
&& mv -f $@.tmp $@ \
|| ($(RM) $@.tmp; \
echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \
(test -f $@ || echo git-log is required to generate this file >> $@)); \
else \
test -f $@ || \
(echo A git checkout and git-log is required to generate ChangeLog >&2 && \
echo A git checkout and git-log is required to generate this file >> $@); \
fi
.PHONY: $(srcdir)/ChangeLog
MAINTAINERCLEANFILES += ChangeLog
-include $(top_srcdir)/git.mk -include $(top_srcdir)/git.mk
...@@ -146,6 +146,7 @@ AX_CODE_COVERAGE ...@@ -146,6 +146,7 @@ AX_CODE_COVERAGE
# General macros # General macros
AX_COMPILER_FLAGS AX_COMPILER_FLAGS
AX_VALGRIND_CHECK AX_VALGRIND_CHECK
AX_GENERATE_CHANGELOG
GOBJECT_INTROSPECTION_CHECK([0.9.7]) GOBJECT_INTROSPECTION_CHECK([0.9.7])
......
extend-diff-ignore = ^git\.mk$|^\.arcconfig$ extend-diff-ignore = ^git\.mk$|^\.arcconfig$|^ChangeLog$
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment