config: HTML file generation: use the installed copy of xorg.css
authorGaetan Nadon <memsize@videotron.ca>
Tue, 9 Nov 2010 18:04:59 +0000 (13:04 -0500)
committerGaetan Nadon <memsize@videotron.ca>
Tue, 9 Nov 2010 18:04:59 +0000 (13:04 -0500)
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>
specs/.gitignore
specs/Makefile.am

index 12fe512..6fa5c31 100644 (file)
@@ -1,6 +1,4 @@
-#              Add & Override for this directory and it's subdirectories
 *.html
 *.ps
 *.pdf
 *.txt
-*.css
index fdaba22..81b647a 100644 (file)
@@ -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)