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>
This commit is contained in:
Gaetan Nadon 2010-11-09 15:19:09 -05:00
parent cda6ce66ca
commit d441b9b023
2 changed files with 4 additions and 6 deletions

1
specs/.gitignore vendored
View file

@ -2,4 +2,3 @@
*.pdf
*.ps
*.txt
*.css

View file

@ -42,11 +42,10 @@ doc_DATA += $(doc_sources:.xml=.txt)
endif
if HAVE_STYLESHEETS
XMLTO_FLAGS = -m $(XSL_STYLESHEET) --stringparam img.src.path=$(abs_builddir)/
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 img.src.path=$(abs_builddir)/ \
--stringparam html.stylesheet=$(STYLESHEET_SRCDIR)/xorg.css
endif
CLEANFILES = $(doc_DATA)