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

Signed-off-by: Gaetan Nadon <[email protected]>
---
 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

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to