From 903480771b46e697ea587025201b53730846d7f8 Mon Sep 17 00:00:00 2001 From: Gaetan Nadon Date: Wed, 15 Jul 2009 15:11:00 -0400 Subject: [PATCH] Use XORG_CHANGELOG macro to create ChangeLog. #22611 Adding the macro in configure.ac and use it in Makefile.am Refer to: https://bugs.freedesktop.org/show_bug.cgi?id=22611 Global maintenance on all modules --- Makefile.am | 2 +- configure.ac | 5 +++++ 2 files changed, 6 insertions(+), 1 deletions(-) diff --git a/Makefile.am b/Makefile.am index ceefc58..625b7cc 100644 --- a/Makefile.am +++ b/Makefile.am @@ -27,6 +27,6 @@ EXTRA_DIST = ChangeLog .PHONY: ChangeLog ChangeLog: - git-log > ChangeLog + $(CHANGELOG_CMD) dist-hook: ChangeLog diff --git a/configure.ac b/configure.ac index 21ac582..3c36096 100644 --- a/configure.ac +++ b/configure.ac @@ -31,6 +31,10 @@ AC_CONFIG_SRCDIR([Makefile.am]) AM_CONFIG_HEADER([config.h]) AC_CONFIG_AUX_DIR(.) +# Require xorg-macros: XORG_RELEASE_VERSION XORG_CHANGELOG +m4_ifndef([XORG_MACROS_VERSION], [AC_FATAL([must install xorg-macros 1.2 or later before running autoconf/autogen])]) +XORG_MACROS_VERSION(1.2) + AM_INIT_AUTOMAKE([dist-bzip2]) AM_MAINTAINER_MODE @@ -115,6 +119,7 @@ AC_SUBST([DRIVER_NAME]) XORG_MANPAGE_SECTIONS XORG_RELEASE_VERSION +XORG_CHANGELOG AC_OUTPUT([ Makefile -- 1.6.0.4