summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/xml/xmlrules.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/xml/xmlrules.in b/doc/xml/xmlrules.in
index 0d094bee3..b7fda11c0 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: