[PATCH xserver 2/3] docbook.am: embed css styles inside the HTML HEAD element

Jeremy Huddleston jeremyhu at gmail.com
Thu Sep 15 00:29:08 PDT 2011


Reviewed-by: Jeremy Huddleston <jeremyhu at apple.com>

On Sep 14, 2011, at 9:12 AM, Gaetan Nadon wrote:

> 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>
> ---
> docbook.am |    2 --
> 1 files changed, 0 insertions(+), 2 deletions(-)
> 
> diff --git a/docbook.am b/docbook.am
> index 9377f5b..bba4d54 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)
> -- 
> 1.7.4.1
> 
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
> 

---
Jeremy Huddleston

Rebuild Sudan
 - Board of Directors
 - http://www.rebuildsudan.org

Berkeley Foundation for Opportunities in Information Technology
 - Advisory Board
 - http://www.bfoit.org



More information about the xorg-devel mailing list