From 55e8d740881ef622376440819119641e67aeb285 Mon Sep 17 00:00:00 2001 From: Peter Breitenlohner Date: Mon, 8 Dec 2008 17:40:31 +0100 Subject: fix distcheck target Arrange that distcleancheck ignores ChangeLog left over by distclean. Don't mention ChangeLog under *CLEANFILES, can't be rebuilt from release tarball; ChangeLog is automatically distributed, no need to mention it. --- xorgversion.m4 | 3 +++ 1 file changed, 3 insertions(+) (limited to 'xorgversion.m4') diff --git a/xorgversion.m4 b/xorgversion.m4 index edfc0fb..881955d 100644 --- a/xorgversion.m4 +++ b/xorgversion.m4 @@ -67,9 +67,12 @@ AC_DEFUN([XORG_RELEASE_VERSION],[ # Defines the variable CHANGELOG_CMD as the command to generate # ChangeLog from git. # +# Arrange that distcleancheck ignores ChangeLog left over by distclean. +# AC_DEFUN([XORG_CHANGELOG], [ CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \ mv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \ echo 'git directory not found: installing possibly empty changelog.' >&2)" AC_SUBST([CHANGELOG_CMD]) +AC_SUBST([distcleancheck_listfiles], ['find . -type f ! -name ChangeLog -print']) ]) # XORG_CHANGELOG -- cgit v1.2.3