summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2010-11-21 14:27:54 -0500
committerKeith Packard <keithp@keithp.com>2010-11-24 11:43:53 -0800
commit97e307dda201d6ba28a723c21a95e484921d1b08 (patch)
tree4aa003ec3f7b69c947cb980c729794f4574000a8 /doc
parent1a7b14d1183057fc69a5da446e898104b65c8347 (diff)
xmlrules.in: no need to setup xmlto flags when configuring --without-xmlto
The AM conditional HAVE_XMLTO should wrap more statements. Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/xml/xmlrules.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/xml/xmlrules.in b/doc/xml/xmlrules.in
index c455ded89..987d6b6ed 100644
--- a/doc/xml/xmlrules.in
+++ b/doc/xml/xmlrules.in
@@ -37,6 +37,8 @@ BUILT_DOC_FILES =
SUFFIXES = .xml .txt .html .pdf
XML_ENT_DIR = $(abs_top_builddir)/doc/xml
+
+if HAVE_XMLTO
XMLTO_FLAGS = --searchpath $(XML_ENT_DIR)
if HAVE_STYLESHEETS
@@ -44,7 +46,6 @@ XMLTO_FLAGS += -m $(XSL_STYLESHEET) \
--stringparam html.stylesheet=$(STYLESHEET_SRCDIR)/xorg.css
endif
-if HAVE_XMLTO
if HAVE_XMLTO_TEXT
BUILT_DOC_FILES += $(TXT_FILES)
.xml.txt:
@@ -61,7 +62,7 @@ BUILT_DOC_FILES += $(PDF_FILES)
$(AM_V_GEN)$(XMLTO) $(XMLTO_FLAGS) --with-fop pdf $<
endif
-endif
+endif HAVE_XMLTO
CLEAN_DOC_FILES = $(TXT_FILES) $(HTML_FILES) $(PDF_FILES)