summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2010-11-05 17:24:24 -0400
committerGaetan Nadon <memsize@videotron.ca>2010-11-06 17:52:07 -0400
commitfdebf058052aca57361153687fcdb5cd29b68cae (patch)
treecfccf0b9b650e9170ee5ede4a38cd93eff399faa
parentc8510a9a0bb10da9cfea6703aa38e5343a0d8b36 (diff)
xmlrules.in: do not use --searchpath when sgml-doctools not installed
The option to define a searchpath for css and xsl files is not required when such files are known to be missing. The command emitted is: /usr/bin/xmlto --searchpath /X11 xhtml-nochunks dps.xml Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-rw-r--r--xmlrules.in6
1 files changed, 2 insertions, 4 deletions
diff --git a/xmlrules.in b/xmlrules.in
index 1523a74..41abb1b 100644
--- a/xmlrules.in
+++ b/xmlrules.in
@@ -32,12 +32,10 @@ if HAVE_XMLTO_TEXT
xml_DATA += $(doc_sources:.xml=.txt)
endif
-# Path to find X11/defs.ent
-XMLTO_FLAGS = --searchpath $(XORG_SGML_PATH)/X11
-
if HAVE_STYLESHEETS
-XMLTO_FLAGS += \
+XMLTO_FLAGS = \
-m $(XSL_STYLESHEET) \
+ --searchpath $(XORG_SGML_PATH)/X11 \
--stringparam html.stylesheet=$(STYLESHEET_SRCDIR)/xorg.css \
--stringparam img.src.path=$(abs_builddir)/
endif