diff options
author | Gaetan Nadon <memsize@videotron.ca> | 2010-11-21 14:27:52 -0500 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2010-11-24 11:42:48 -0800 |
commit | d3c523bd124dc1a3f4539f7f6cd4868adbfc25e1 (patch) | |
tree | cf46352d7c83a22f5b74ae006e70277c96672be1 /doc | |
parent | 504e3010e976ccc008ff48417850b594beaee2ec (diff) |
doc: HTML file generation: use the installed copy of xorg.css
Currently the xorg.css file is copied in each location
where a DocBook/XML file resides. This produces about
70 copies in the $(docdir) install tree for all of xorg.
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/xml/.gitignore | 1 | ||||
-rw-r--r-- | doc/xml/dtrace/.gitignore | 1 | ||||
-rw-r--r-- | doc/xml/xmlrules.in | 9 |
3 files changed, 3 insertions, 8 deletions
diff --git a/doc/xml/.gitignore b/doc/xml/.gitignore index 3d050f0d0..496173835 100644 --- a/doc/xml/.gitignore +++ b/doc/xml/.gitignore @@ -3,4 +3,3 @@ xserver.ent Xserver-spec.html Xserver-spec.pdf Xserver-spec.txt -xorg.css diff --git a/doc/xml/dtrace/.gitignore b/doc/xml/dtrace/.gitignore index a43c4e134..e2a21d1e2 100644 --- a/doc/xml/dtrace/.gitignore +++ b/doc/xml/dtrace/.gitignore @@ -1,4 +1,3 @@ Xserver-DTrace.html Xserver-DTrace.pdf Xserver-DTrace.txt -xorg.css diff --git a/doc/xml/xmlrules.in b/doc/xml/xmlrules.in index b7fda11c0..f828eef87 100644 --- a/doc/xml/xmlrules.in +++ b/doc/xml/xmlrules.in @@ -40,11 +40,8 @@ XML_ENT_DIR = $(abs_top_builddir)/doc/xml XMLTO_FLAGS = --searchpath $(XML_ENT_DIR) if HAVE_STYLESHEETS -XMLTO_FLAGS += -m $(XSL_STYLESHEET) -BUILT_DOC_FILES += xorg.css - -xorg.css: $(STYLESHEET_SRCDIR)/xorg.css - $(AM_V_GEN)cp -pf $(STYLESHEET_SRCDIR)/xorg.css $@ +XMLTO_FLAGS += -m $(XSL_STYLESHEET) \ + --stringparam html.stylesheet=$(STYLESHEET_SRCDIR)/xorg.css endif if HAVE_XMLTO @@ -69,7 +66,7 @@ endif endif -CLEAN_DOC_FILES = $(TXT_FILES) $(HTML_FILES) $(PDF_FILES) xorg.css +CLEAN_DOC_FILES = $(TXT_FILES) $(HTML_FILES) $(PDF_FILES) # All the files we build depend on the entities $(BUILT_DOC_FILES): $(XML_ENT_DIR)/xserver.ent |