diff options
author | Gaetan Nadon <memsize@videotron.ca> | 2010-11-09 13:04:44 -0500 |
---|---|---|
committer | Gaetan Nadon <memsize@videotron.ca> | 2010-11-09 13:04:44 -0500 |
commit | 8cbca8a10761d1ea75a75bafa647632d6c0dac71 (patch) | |
tree | 6e6ff1d6e2624bafa4ba704ccf3b01eb3e712ff5 | |
parent | 3e8907305e1818369aef5a5c0da61f09e20de4f8 (diff) |
config: 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.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-rw-r--r-- | specs/.gitignore | 1 | ||||
-rw-r--r-- | specs/xmlrules.in | 9 |
2 files changed, 4 insertions, 6 deletions
diff --git a/specs/.gitignore b/specs/.gitignore index 09b6a89d..6fa5c317 100644 --- a/specs/.gitignore +++ b/specs/.gitignore @@ -2,4 +2,3 @@ *.ps *.pdf *.txt -*.css diff --git a/specs/xmlrules.in b/specs/xmlrules.in index 2af41308..76878600 100644 --- a/specs/xmlrules.in +++ b/specs/xmlrules.in @@ -37,11 +37,10 @@ spec_DATA += $(doc_sources:.xml=.txt) endif if HAVE_STYLESHEETS -XMLTO_FLAGS += -m $(XSL_STYLESHEET) --stringparam img.src.path=$(abs_builddir)/ - -spec_DATA += xorg.css -xorg.css: $(STYLESHEET_SRCDIR)/xorg.css - $(AM_V_GEN)cp -pf $(STYLESHEET_SRCDIR)/xorg.css $@ +XMLTO_FLAGS += \ + -m $(XSL_STYLESHEET) \ + --stringparam img.src.path=$(abs_builddir)/ \ + --stringparam html.stylesheet=$(STYLESHEET_SRCDIR)/xorg.css endif CLEANFILES += $(spec_DATA) |