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

Signed-off-by: Gaetan Nadon <[email protected]>
---
 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

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to