[PATCH xserver 3/6] xmlrules.in: the searchpath only needed to locate entities

Gaetan Nadon memsize at videotron.ca
Wed Nov 10 12:16:35 PST 2010


It can only be used if we have stylesheets, that is,
xorg-sgml-doctools package is installed.

Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
---
 doc/xml/xmlrules.in |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/doc/xml/xmlrules.in b/doc/xml/xmlrules.in
index c455ded..265cd02 100644
--- a/doc/xml/xmlrules.in
+++ b/doc/xml/xmlrules.in
@@ -37,10 +37,11 @@ BUILT_DOC_FILES =
 SUFFIXES = .xml .txt .html .pdf
 
 XML_ENT_DIR = $(abs_top_builddir)/doc/xml
-XMLTO_FLAGS = --searchpath $(XML_ENT_DIR)
 
 if HAVE_STYLESHEETS
-XMLTO_FLAGS += -m $(XSL_STYLESHEET) \
+XMLTO_FLAGS = 				\
+	-m $(XSL_STYLESHEET)		\
+	--searchpath $(XML_ENT_DIR)	\
 	--stringparam html.stylesheet=$(STYLESHEET_SRCDIR)/xorg.css
 endif
 
-- 
1.6.0.4



More information about the xorg-devel mailing list