Commit 2d2c6466 authored by Philip Withnall's avatar Philip Withnall

build: Port to using AX_GENERATE_CHANGELOG for the ChangeLog

This fixes `make dist` with builddir ≠ srcdir.

https://bugzilla.gnome.org/show_bug.cgi?id=777744
parent 7b162165
The ChangeLog is auto-generated when releasing.
If you are seeing this, use 'git log' for a detailed list of changes.
......@@ -39,15 +39,8 @@ MAINTAINERCLEANFILES = \
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = geocode-glib-1.0.pc
# Build ChangeLog from GIT history
ChangeLog:
@if test -f $(top_srcdir)/.git/HEAD; then \
git log --stat > $@; \
fi
dist: ChangeLog
.PHONY: ChangeLog
# Build ChangeLog from git history
@GENERATE_CHANGELOG_RULES@
dist-hook: dist-ChangeLog
-include $(top_srcdir)/git.mk
......@@ -98,6 +98,9 @@ AM_CONDITIONAL([ENABLE_INSTALLED_TESTS],
[test "$enable_installed_tests" = "yes"])
AC_SUBST([ENABLE_INSTALLED_TESTS],[$enable_installed_tests])
# Changelog generation
AX_GENERATE_CHANGELOG
AC_CONFIG_FILES([
Makefile
geocode-glib-1.0.pc
......
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