summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <sandmann@daimi.au.dk>2005-10-03 21:22:07 +0000
committerSøren Sandmann Pedersen <sandmann@daimi.au.dk>2005-10-03 21:22:07 +0000
commit44f7093372bcba8ff747962f0c7a210cfc871168 (patch)
tree29ed95f4276c84678a50281f659e976887d49fdc
parent3dd131a3d19ad7d495a41d5de73f009f42efdadf (diff)
- For all drivers that have a <driver>.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 <driver>.sgml to xf86-video-<driver>/README.sgml - Add all the README.<driver> 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.
-rw-r--r--Makefile.am7
-rw-r--r--configure.ac2
2 files changed, 9 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 7052905..2b6c46a 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 0836130..11f5e74 100644
--- a/configure.ac
+++ b/configure.ac
@@ -59,6 +59,8 @@ AC_SUBST([moduledir])
XORG_RELEASE_VERSION
+XORG_CHECK_LINUXDOC
+
AC_OUTPUT([
Makefile
src/Makefile