From bd48e0531a16bdf27fc8549826cc1123ba12d5bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Sandmann=20Pedersen?= Date: Mon, 3 Oct 2005 21:22:07 +0000 Subject: - For all drivers that have a .sgml file, add code in their build system to build the README file at make dist time - in util/macros/xorg-macros.m4, add a new XORG_CHECK_LINUXDOC macro that will check if the required tools and files exist, and if so set a conditional. - util/modular/symlink.sh - Link all the .sgml to xf86-video-/README.sgml - Add all the README. to the list of excluded files - xc/programs/Xserver/hw/xfree86/doc/sgml/SiS.sgml: Various changes to make it spew less warnings when the text file is built. --- Makefile.am | 7 +++++++ configure.ac | 2 ++ 2 files changed, 9 insertions(+) diff --git a/Makefile.am b/Makefile.am index 7052905f..2b6c46aa 100644 --- a/Makefile.am +++ b/Makefile.am @@ -20,3 +20,10 @@ AUTOMAKE_OPTIONS = foreign SUBDIRS = src man + +if BUILD_LINUXDOC +README: README.sgml + $(MAKE_TEXT) README.sgml && mv README.txt README +endif + +EXTRA_DIST = README.sgml diff --git a/configure.ac b/configure.ac index db4d905f..c82ada2f 100644 --- a/configure.ac +++ b/configure.ac @@ -94,6 +94,8 @@ AC_SUBST([moduledir]) XORG_RELEASE_VERSION +XORG_CHECK_LINUXDOC + AC_OUTPUT([ Makefile src/Makefile -- cgit v1.2.3