From 72ade58381a49514f2b29065ba33a464b7efc3d0 Mon Sep 17 00:00:00 2001 From: Gaetan Nadon Date: Tue, 9 Nov 2010 13:04:51 -0500 Subject: 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 --- doc/.gitignore | 2 -- doc/Makefile.am | 7 ++----- 2 files changed, 2 insertions(+), 7 deletions(-) (limited to 'doc') 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 dc3f0a6..d2c4724 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -39,11 +39,8 @@ noinst_DATA += $(doc_sources:.xml=.txt) endif if HAVE_STYLESHEETS -XMLTO_FLAGS = -m $(XSL_STYLESHEET) - -noinst_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 = $(noinst_DATA) -- cgit v1.2.1