summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2010-11-06 09:23:26 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2010-11-06 12:46:03 -0700
commitd01d081538d04ac60b9e14f6e2faa60fe6bed5ff (patch)
tree42b2db99bcb30eee857847c3d0e4ee6928cf1cc2
parentea6977f4a51612172ba51c3bd35aa150ad9ff158 (diff)
doc: Use installed css stylesheet instead of making another copy
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--doc/.gitignore1
-rw-r--r--doc/Makefile.am8
2 files changed, 3 insertions, 6 deletions
diff --git a/doc/.gitignore b/doc/.gitignore
index 12fe512..2830624 100644
--- a/doc/.gitignore
+++ b/doc/.gitignore
@@ -3,4 +3,3 @@
*.ps
*.pdf
*.txt
-*.css
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 30d2b16..19ad939 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -37,11 +37,9 @@ 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)