summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2010-11-09 13:04:40 -0500
committerGaetan Nadon <memsize@videotron.ca>2010-11-09 13:04:40 -0500
commit8480764c94d15673c884b90c7a10bc86635dec63 (patch)
tree06af44b8ad53493bbdf2b56cfddd69fa00239f1a
parentd2327760a52fdbcd3759211578e3663e00e4a31e (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--doc/.gitignore2
-rw-r--r--doc/Makefile.am7
2 files changed, 2 insertions, 7 deletions
diff --git a/doc/.gitignore b/doc/.gitignore
index 12fe512..6fa5c31 100644
--- a/doc/.gitignore
+++ b/doc/.gitignore
@@ -1,6 +1,4 @@
-# Add & Override for this directory and it's subdirectories
*.html
*.ps
*.pdf
*.txt
-*.css
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 12a3c6e..ea304a2 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -37,11 +37,8 @@ doc_DATA += $(doc_sources:.xml=.txt)
endif
if HAVE_STYLESHEETS
-XMLTO_FLAGS = -m $(XSL_STYLESHEET)
-
-doc_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
endif
CLEANFILES = $(doc_DATA)