From 8cbca8a10761d1ea75a75bafa647632d6c0dac71 Mon Sep 17 00:00:00 2001 From: Gaetan Nadon Date: Tue, 9 Nov 2010 13:04:44 -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 --- specs/.gitignore | 1 - specs/xmlrules.in | 9 ++++----- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/specs/.gitignore b/specs/.gitignore index 09b6a89d..6fa5c317 100644 --- a/specs/.gitignore +++ b/specs/.gitignore @@ -2,4 +2,3 @@ *.ps *.pdf *.txt -*.css diff --git a/specs/xmlrules.in b/specs/xmlrules.in index 2af41308..76878600 100644 --- a/specs/xmlrules.in +++ b/specs/xmlrules.in @@ -37,11 +37,10 @@ spec_DATA += $(doc_sources:.xml=.txt) endif if HAVE_STYLESHEETS -XMLTO_FLAGS += -m $(XSL_STYLESHEET) --stringparam img.src.path=$(abs_builddir)/ - -spec_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 += $(spec_DATA) -- cgit v1.2.3