summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <sandmann@daimi.au.dk>2005-10-03 21:22:06 +0000
committerSøren Sandmann Pedersen <sandmann@daimi.au.dk>2005-10-03 21:22:06 +0000
commit7b90aace06d6e4abaf81073f49604f5068a60ee8 (patch)
tree9f36908da1a801e9978fcb83e499f086ae198346
parent6b16d0c1fc57da0f3319791e9b928d0f3fb673d1 (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 858f637..98bb94a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -21,3 +21,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 4447afa..fc2868c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -66,6 +66,8 @@ AC_HEADER_STDC
XORG_RELEASE_VERSION
+XORG_CHECK_LINUXDOC
+
AC_OUTPUT([
Makefile
src/Makefile