summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2010-07-30 17:43:24 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2010-08-09 21:17:37 -0700
commit05c4fe83fdc20b838fd59658478278dc31a55eb9 (patch)
treef42079c0fd17e84eeebbb3c8c7e0c846cf6b3486
parenta6fb7829ed9bf26c4c2a02c6ed075fb1b17f7b2a (diff)
Check HAVE_XMLTO_TEXT before trying to use xmlto to make text files
Reported-by: Matt Turner <mattst88@gmail.com> Tested-by: Gaetan Nadon <memsize@videotron.ca> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-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: