summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2010-11-09 15:19:09 -0500
committerGaetan Nadon <memsize@videotron.ca>2010-11-09 15:19:09 -0500
commit2c1cabffad2903867fd352c19f0157d07adde232 (patch)
tree6bea1c8ebd0a0b4c79b2c5e251c127a52b422c36
parent396cdde0242256976fbacec64839e48dfc56d639 (diff)
downloadxorg-proto-recordproto-2c1cabffad2903867fd352c19f0157d07adde232.tar.gz
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>
-rw-r--r--specs/.gitignore1
-rw-r--r--specs/Makefile.am7
2 files changed, 2 insertions, 6 deletions
diff --git a/specs/.gitignore b/specs/.gitignore
index 09b6a89..6fa5c31 100644
--- a/specs/.gitignore
+++ b/specs/.gitignore
@@ -2,4 +2,3 @@
*.ps
*.pdf
*.txt
-*.css
diff --git a/specs/Makefile.am b/specs/Makefile.am
index 6359c98..112e936 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)