From d441b9b0230b57159fa8522b80f18a0b87f5aac5 Mon Sep 17 00:00:00 2001 From: Gaetan Nadon Date: Tue, 9 Nov 2010 15:19:09 -0500 Subject: [PATCH] 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 --- specs/.gitignore | 1 - specs/Makefile.am | 9 ++++----- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/specs/.gitignore b/specs/.gitignore index 22ef64b..2ee2ac5 100644 --- a/specs/.gitignore +++ b/specs/.gitignore @@ -2,4 +2,3 @@ *.pdf *.ps *.txt -*.css diff --git a/specs/Makefile.am b/specs/Makefile.am index 2e5d6b5..81b9181 100644 --- a/specs/Makefile.am +++ b/specs/Makefile.am @@ -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)