From 05c4fe83fdc20b838fd59658478278dc31a55eb9 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Fri, 30 Jul 2010 17:43:24 -0700 Subject: Check HAVE_XMLTO_TEXT before trying to use xmlto to make text files Reported-by: Matt Turner Tested-by: Gaetan Nadon Signed-off-by: Alan Coopersmith --- doc/xml/xmlrules.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc') 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: -- cgit v1.2.3