summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2010-11-09 13:04:44 -0500
committerGaetan Nadon <memsize@videotron.ca>2010-11-09 13:04:44 -0500
commit8cbca8a10761d1ea75a75bafa647632d6c0dac71 (patch)
tree6e6ff1d6e2624bafa4ba704ccf3b01eb3e712ff5
parent3e8907305e1818369aef5a5c0da61f09e20de4f8 (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/.gitignore1
-rw-r--r--specs/xmlrules.in9
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)