summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2011-08-31 10:46:59 -0400
committerGaetan Nadon <memsize@videotron.ca>2011-08-31 15:41:22 -0400
commit85b725aa9ef76aeb5e94d42e0cd60f896da7ab97 (patch)
tree5285a8dc910197f5ebef425e75291d23e9bfee7a
parentb5ed2d368d47f244d43d2513329fa2758bc4ef54 (diff)
docbook.am: add search path for local entities
Currently, only $(XORG_SGML_PATH)/X11 is searched for xml entities. A module may want to add entities that apply only to itself and not to all modules, like the xserver does. This feature may or may not be used in this module, but all modules share a copy of docbook.am. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-rw-r--r--docbook.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/docbook.am b/docbook.am
index 5dead3f3..d968a75b 100644
--- a/docbook.am
+++ b/docbook.am
@@ -31,6 +31,7 @@ shelf_DATA += $(docbook:.xml=.html)
$(AM_V_GEN)$(XMLTO) \
-x $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl \
--searchpath "$(XORG_SGML_PATH)/X11" \
+ --searchpath "$(abs_top_builddir)" \
--stringparam html.stylesheet=$(STYLESHEET_SRCDIR)/xorg.css \
--stringparam target.database.document=$(masterdb) \
--stringparam current.docid="$(<:.xml=)" \
@@ -42,6 +43,7 @@ shelf_DATA += $(docbook:.xml=.pdf)
$(AM_V_GEN)$(XMLTO) \
-x $(STYLESHEET_SRCDIR)/xorg-fo.xsl \
--searchpath "$(XORG_SGML_PATH)/X11" \
+ --searchpath "$(abs_top_builddir)" \
--stringparam target.database.document=$(masterdb) \
--stringparam current.docid="$(<:.xml=)" \
--stringparam img.src.path=$(abs_builddir)/ \
@@ -52,6 +54,7 @@ shelf_DATA += $(docbook:.xml=.ps)
$(AM_V_GEN)$(XMLTO) \
-x $(STYLESHEET_SRCDIR)/xorg-fo.xsl \
--searchpath "$(XORG_SGML_PATH)/X11" \
+ --searchpath "$(abs_top_builddir)" \
--stringparam target.database.document=$(masterdb) \
--stringparam current.docid="$(<:.xml=)" \
--stringparam img.src.path=$(abs_builddir)/ \
@@ -64,6 +67,7 @@ shelf_DATA += $(docbook:.xml=.txt)
$(AM_V_GEN)$(XMLTO) \
-x $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl \
--searchpath "$(XORG_SGML_PATH)/X11" \
+ --searchpath "$(abs_top_builddir)" \
txt $<
endif HAVE_XMLTO_TEXT
@@ -72,6 +76,7 @@ if HAVE_XSLTPROC
XSLTPROC_FLAGS = \
--path "$(XORG_SGML_PATH)/X11" \
+ --path "$(abs_top_builddir)" \
--stringparam targets.filename "$@" \
--stringparam collect.xref.targets "only" \
--nonet --xinclude