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
commitd441b9b0230b57159fa8522b80f18a0b87f5aac5 (patch)
tree069a0174abb01be15d38d8f0257382bec6e82c95
parentcda6ce66caa01997b9dd32eb8689d6e746558369 (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>
-rw-r--r--specs/.gitignore1
-rw-r--r--specs/Makefile.am9
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)