[PATCH libX11 6/6] docbook.am: embed css styles inside the HTML HEAD element

Gaetan Nadon memsize at videotron.ca
Fri Sep 9 12:24:14 PDT 2011


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.

Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
---
 specs/i18n/compose/docbook-nl.am |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/specs/i18n/compose/docbook-nl.am b/specs/i18n/compose/docbook-nl.am
index 2880133..95860c2 100644
--- a/specs/i18n/compose/docbook-nl.am
+++ b/specs/i18n/compose/docbook-nl.am
@@ -41,20 +41,16 @@ XMLTO_HTML_OLINK_FLAGS = \
 	--stringparam current.docid="$(<:.xml=)"
 XMLTO_HTML_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-chunk.xsl
 XMLTO_TXT_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl
-XMLTO_CSS_STYLESHEET_FLAGS = 				\
-	--stringparam html.stylesheet=$(STYLESHEET_SRCDIR)/xorg.css
 XMLTO_HTML_CHUNKING_FLAGS = 				\
 	--stringparam root.filename="$(<:.xml=)"
 XMLTO_HTML_FLAGS = 					\
 	$(XMLTO_SEARCHPATH_FLAGS)			\
 	$(XMLTO_HTML_STYLESHEET_FLAGS)			\
-	$(XMLTO_CSS_STYLESHEET_FLAGS)			\
 	$(XMLTO_HTML_CHUNKING_FLAGS)			\
 	$(XMLTO_HTML_OLINK_FLAGS)
 XMLTO_TXT_FLAGS = 					\
 	$(XMLTO_SEARCHPATH_FLAGS)			\
 	$(XMLTO_TXT_STYLESHEET_FLAGS)			\
-	$(XMLTO_CSS_STYLESHEET_FLAGS)			\
 	$(XMLTO_HTML_OLINK_FLAGS)
 
 shelf_DATA += $(docbook:.xml=.html) $(chapters:.xml=.html)
-- 
1.7.4.1



More information about the xorg-devel mailing list