summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2009-10-26 12:54:20 -0400
committerGaetan Nadon <memsize@videotron.ca>2009-10-26 12:54:20 -0400
commitdb91ec37ea274f69eb5d07c41bef787d5e9537a5 (patch)
treed9fd2c5bd6d9540eb1082e8b542e48b82e0a8a75
parentbb622c56b522d7b6962770b25bbe4e89ea280f16 (diff)
Several driver modules do not have a ChangeLog target in Makefile.am #23814
The git generated ChangeLog replaces the hand written one. Update configure.ac to xorg-macros level 1.3. Use XORG_DEFAULT_OPTIONS which replaces four XORG_* macros Update Makefile.am to add ChangeLog target if missing Remove ChangeLog from EXTRA_DIST or *CLEAN variables This is a pre-req for the INSTALL_CMD
-rw-r--r--ChangeLog25
-rw-r--r--Makefile.am6
-rw-r--r--configure.ac9
3 files changed, 12 insertions, 28 deletions
diff --git a/ChangeLog b/ChangeLog
deleted file mode 100644
index 467041b..0000000
--- a/ChangeLog
+++ /dev/null
@@ -1,25 +0,0 @@
-2006-04-06 Adam Jackson <ajax@freedesktop.org>
-
- * configure.ac:
- * src/vmmouse.c:
- * src/vmmouse_proto.h:
- Unlibcwrap. Bump server version requirement. Bump to 12.4.0.
-
-2006-03-28 Philip Langdale <plangdale@vmware.com>
-
- * configure.ac:
- * src/vmmouse.c: Bump PATCHLEVEL.
- * src/vmmouse_proto.h: Use the right #define
- when detecting a 64bit compilation. This fixes
- the driver to actually work for 64bit builds.
-
-2006-01-16 Philip Langdale <plangdale@vmware.com>
-
- * configure.ac:
- * src/vmmouse.c: Bump PATCHLEVEL.
- * src/vmmouse_proto.c: push/pop ebx to keep
- gcc4 happy when compiling with -fPIC.
-
-2006-01-06 Philip Langdale <plangdale@vmware.com>
-
- * Initial release.
diff --git a/Makefile.am b/Makefile.am
index 2e7b369..6c4d773 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -20,3 +20,9 @@
AUTOMAKE_OPTIONS = foreign
SUBDIRS = shared src tools fdi man
+.PHONY: ChangeLog
+
+ChangeLog:
+ $(CHANGELOG_CMD)
+
+dist-hook: ChangeLog
diff --git a/configure.ac b/configure.ac
index a7ecda9..d4c94e2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -32,6 +32,12 @@ AM_INIT_AUTOMAKE([dist-bzip2])
AM_MAINTAINER_MODE
+# Require xorg-macros: XORG_DEFAULT_OPTIONS
+m4_ifndef([XORG_MACROS_VERSION],
+ [m4_fatal([must install xorg-macros 1.3 or later before running autoconf/autogen])])
+XORG_MACROS_VERSION(1.3)
+XORG_DEFAULT_OPTIONS
+
DRIVER_NAME=vmmouse
AC_SUBST([DRIVER_NAME])
@@ -127,7 +133,4 @@ AC_SUBST([CFLAGS])
# Checks for header files.
AC_HEADER_STDC
-XORG_MANPAGE_SECTIONS
-XORG_RELEASE_VERSION
-
AC_OUTPUT([Makefile shared/Makefile src/Makefile tools/Makefile fdi/Makefile man/Makefile])