aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/doc/xml/xmlrules.in
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/doc/xml/xmlrules.in')
-rw-r--r--xorg-server/doc/xml/xmlrules.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/xorg-server/doc/xml/xmlrules.in b/xorg-server/doc/xml/xmlrules.in
index 667cc2ebb..1222bb5af 100644
--- a/xorg-server/doc/xml/xmlrules.in
+++ b/xorg-server/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: