Commit 39bb5768 authored by David King's avatar David King

Generate ChangeLog during make dist

Move the ChangeLog to NEWS and generate the ChangeLog during "make dist"
from the git log. Move THANKS to AUTHORS as that is the filename that
automake expects for a non-foreign project.
parent 2abaf8a4
......@@ -16,6 +16,7 @@ doc/easytag.1
/easytag
/easytag.desktop
/easytag.spec
/INSTALL
libtool
ltmain.sh
/po/*.gmo
......
This diff is collapsed.
......@@ -190,9 +190,6 @@ dist_noinst_DATA = \
\
easytag.spec \
easytag-win32-installer.nsi \
COPYING \
README \
THANKS \
TODO \
USERS-GUIDE \
\
......@@ -286,3 +283,15 @@ DISTCLEANFILES = \
intltool-merge \
intltool-update \
po/.intltool-merge-cache
git-changelog-hook:
$(AM_V_at)if $(top_srcdir)/build-aux/missing --run git \
--git-dir=$(top_srcdir)/.git --work-tree=$(top_srcdir) log \
--stat -M -C --name-status --no-color \
| fmt --split-only >.ChangeLog.tmp; \
then mv -f .ChangeLog.tmp "$(top_distdir)/ChangeLog"; \
else rm -f .ChangeLog.tmp; exit 1; fi
dist-hook: git-changelog-hook
.PHONY: git-changelog-hook
This diff is collapsed.
......@@ -14,7 +14,7 @@ AC_CONFIG_MACRO_DIR([m4])
dnl -------------------------------
dnl Init automake
dnl -------------------------------
AM_INIT_AUTOMAKE([1.11 -Wall no-define dist-xz no-dist-gzip foreign nostdinc subdir-objects])
AM_INIT_AUTOMAKE([1.11 -Wall no-define dist-xz no-dist-gzip nostdinc subdir-objects])
AM_MAINTAINER_MODE([enable])
AM_SILENT_RULES([yes])
......
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