[PATCH libXmu 2/2] config: use HAVE_XMLTO_TEXT from XORG_WITH_XMLTO

Gaetan Nadon memsize at videotron.ca
Fri Jun 25 12:38:17 PDT 2010


Skip text format when XMLTO dependencies for text format
are missing (lynx, links or w3m)

Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
---
 doc/Makefile.am |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/doc/Makefile.am b/doc/Makefile.am
index 05f61f7..c208073 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -25,12 +25,16 @@ if ENABLE_DOCS
 dist_doc_DATA = Xmu.xml xlogo.svg
 
 if HAVE_XMLTO
-doc_DATA = Xmu.txt Xmu.html
+doc_DATA = Xmu.html
 
 if HAVE_FOP
 doc_DATA += Xmu.pdf Xmu.ps
 endif
 
+if HAVE_XMLTO_TEXT
+doc_DATA += Xmu.txt
+endif
+
 CLEANFILES = Xmu.txt Xmu.html Xmu.pdf Xmu.ps xorg.css
 
 if HAVE_STYLESHEETS
-- 
1.6.0.4



More information about the xorg-devel mailing list