summaryrefslogtreecommitdiff
path: root/specs/Makefile.am
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2010-11-09 11:28:48 -0500
committerGaetan Nadon <memsize@videotron.ca>2010-11-09 11:39:23 -0500
commitfd56c4e00a564d6385ccb2f8fadf10de201ae411 (patch)
tree760dd177d89c927960787df80c5c072da682b04f /specs/Makefile.am
parent9856f5679b2b2d458cf830c1e8fdd206c724dfc5 (diff)
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>
Diffstat (limited to 'specs/Makefile.am')
-rw-r--r--specs/Makefile.am7
1 files changed, 2 insertions, 5 deletions
diff --git a/specs/Makefile.am b/specs/Makefile.am
index 4b7bef5..77363e9 100644
--- a/specs/Makefile.am
+++ b/specs/Makefile.am
@@ -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)