diff options
author | Gaetan Nadon <memsize@videotron.ca> | 2010-11-05 15:22:29 -0400 |
---|---|---|
committer | Gaetan Nadon <memsize@videotron.ca> | 2010-11-06 17:52:07 -0400 |
commit | c8510a9a0bb10da9cfea6703aa38e5343a0d8b36 (patch) | |
tree | e166b7fc0c30455ddb2dd3d9f9f36ab38a2b1d02 | |
parent | 92d11dbaba41fc68ad6ba2af91e85de2f328d48c (diff) |
HTML file generation: use the installed copy of xorg.css
Currenlty 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.
With this patch the HTML file contains the following XML element:
<link rel="stylesheet"
href="/home/nadon/xorg/src/share/sgml/X11/xorg.css" type="text/css" />
when build from prefix /home/nadon/xorg/src.
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | xmlrules.in | 9 |
2 files changed, 4 insertions, 6 deletions
@@ -80,4 +80,3 @@ core *.ps *.pdf *.txt -*.css diff --git a/xmlrules.in b/xmlrules.in index 9d41c65..1523a74 100644 --- a/xmlrules.in +++ b/xmlrules.in @@ -36,11 +36,10 @@ endif XMLTO_FLAGS = --searchpath $(XORG_SGML_PATH)/X11 if HAVE_STYLESHEETS -XMLTO_FLAGS += -m $(XSL_STYLESHEET) --stringparam img.src.path=$(abs_builddir)/ - -xml_DATA += 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 \ + --stringparam img.src.path=$(abs_builddir)/ endif CLEANFILES = $(xml_DATA) |