summaryrefslogtreecommitdiff
path: root/docbook.am
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2011-09-15 20:12:40 -0400
committerKeith Packard <keithp@keithp.com>2011-09-21 14:07:49 -0700
commit82c55b5a99a1bacf2bc11bbd9d58f6f2c6c07286 (patch)
tree2b0caddb519f8d63578415388796128d68653459 /docbook.am
parent1602444e05cc59afe32c085c0cedb85e3268cd98 (diff)
docbook.am: embed css styles inside the HTML HEAD element
Rather than referring to the external xorg.css stylesheet, embed the content of the file in the html output produced. This is accomplished by using version 1.10 of xorg-xhtml.xsl. This makes the whole html docs tree much more relocatable. In addition, it eliminates xorg.css as a runtime file which makes xorg-sgml-doctools a build time only package. Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'docbook.am')
-rw-r--r--docbook.am2
1 files changed, 0 insertions, 2 deletions
diff --git a/docbook.am b/docbook.am
index 9377f5b31..bba4d5453 100644
--- a/docbook.am
+++ b/docbook.am
@@ -30,11 +30,9 @@ XMLTO_HTML_OLINK_FLAGS = \
--stringparam target.database.document=$(XORG_SGML_PATH)/X11/dbs/masterdb.html.xml \
--stringparam current.docid="$(<:.xml=)"
XMLTO_HTML_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl
-XMLTO_HTML_CSS_STYLESHEET_FLAGS = --stringparam html.stylesheet=$(STYLESHEET_SRCDIR)/xorg.css
XMLTO_HTML_FLAGS = \
$(XMLTO_SEARCHPATH_FLAGS) \
$(XMLTO_HTML_STYLESHEET_FLAGS) \
- $(XMLTO_HTML_CSS_STYLESHEET_FLAGS) \
$(XMLTO_HTML_OLINK_FLAGS)
shelf_DATA += $(docbook:.xml=.html)