Commit dff13906 authored by Chris Kühl's avatar Chris Kühl
Browse files

Generate ChangeLog from git log during make dist

https://bugzilla.gnome.org/show_bug.cgi?id=496436
parent 1120f597
git log
The ChangeLog is auto-generated during 'make dist'. If you are
seeing this, use 'git log' for a detailed list of changes.
......@@ -20,10 +20,31 @@ Applications_DATA = $(Applications_in_files:.desktop.in=.desktop)
distuninstallcheck_listfiles = find . -type f -print | grep -v 'scrollkeeper'
if MAINTAINER_MODE
dist-hook: dist-changelog
else
dist-hook:
endif
.PHONY: dist-changelog
dist-changelog:
$(AM_V_at)if git --git-dir=$(top_srcdir)/.git --work-tree=$(top_srcdir) \
log --no-merges --date=short --pretty='tformat:%cd %an <%ae>%n%n%s%n%n%b' a5b4b868024f89e07fb9e1bf35d94df60568d841.. | \
$(SED) -e '/^[12]...-[01].-[0123]. [^<>]* <[^<>]*>$$/,/^$$/ b' \
-e '/[^ ]/,/^[ ]*$$/ !d' \
-e 's/^[ ]*/ /' \
-e 's/^[ ]*$$//' >.ChangeLog.tmp; \
then mv -f .ChangeLog.tmp "$(top_distdir)/ChangeLog"; \
else rm -f .ChangeLog.tmp; exit 1; fi
dist_noinst_DATA = \
ChangeLog.pre-git
DISTCLEANFILES = \
intltool-extract \
intltool-merge \
intltool-update \
gnome-system-monitor.desktop
intltool-extract \
intltool-merge \
intltool-update \
gnome-system-monitor.desktop
DISTCHECK_CONFIGURE_FLAGS = --disable-scrollkeeper
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ([2.63])
AC_INIT([gnome-system-monitor],
......@@ -11,9 +10,12 @@ AC_CONFIG_HEADERS([config.h])
AC_CONFIG_SRCDIR([configure.ac])
AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE([1.11 no-dist-gzip dist-bzip2])
AM_INIT_AUTOMAKE([1.11.1 no-dist-gzip dist-bzip2])
AM_SILENT_RULES([yes])
AM_MAINTAINER_MODE([enable])
GNOME_MAINTAINER_MODE_DEFINES
# Check For programs
AC_PROG_CC
AC_PROG_CXX
......
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