[PATCH] Check HAVE_XMLTO_TEXT before trying to use xmlto to make text files

Alan Coopersmith alan.coopersmith at oracle.com
Fri Jul 30 17:45:59 PDT 2010


Reported-by: Matt Turner <mattst88 at gmail.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
---
 doc/xml/xmlrules.in |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/doc/xml/xmlrules.in b/doc/xml/xmlrules.in
index 0d094be..b7fda11 100644
--- a/doc/xml/xmlrules.in
+++ b/doc/xml/xmlrules.in
@@ -48,10 +48,12 @@ xorg.css: $(STYLESHEET_SRCDIR)/xorg.css
 endif
 
 if HAVE_XMLTO
+if HAVE_XMLTO_TEXT
 BUILT_DOC_FILES += $(TXT_FILES)
 .xml.txt:
 	@rm -f $@
 	$(AM_V_GEN)$(XMLTO) $(XMLTO_FLAGS) txt $<
+endif
 
 BUILT_DOC_FILES += $(HTML_FILES)
 .xml.html:
-- 
1.5.6.5



More information about the xorg-devel mailing list