summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2010-11-09 13:04:55 -0500
committerGaetan Nadon <memsize@videotron.ca>2010-11-09 13:04:55 -0500
commit549dd5f470148df74e65ce7bb1af316a2848a71d (patch)
treeae5b345dc3f253c90436043b4292a06ea49ee6e9
parentea7e12eaf84ada28f4933e85ecf51a47c9db0b93 (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--doc/.gitignore2
-rw-r--r--doc/Makefile.am7
-rw-r--r--specs/.gitignore2
-rw-r--r--specs/Makefile.am7
4 files changed, 4 insertions, 14 deletions
diff --git a/doc/.gitignore b/doc/.gitignore
index 13312fe..6fa5c31 100644
--- a/doc/.gitignore
+++ b/doc/.gitignore
@@ -1,6 +1,4 @@
-# Add & Override for this directory and it's subdirectories
*.html
*.ps
*.pdf
*.txt
-*.css
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 651b114..f22aefd 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -39,11 +39,8 @@ spec_DATA += $(doc_sources:.xml=.txt)
endif
if HAVE_STYLESHEETS
-XMLTO_FLAGS = -m $(XSL_STYLESHEET)
-
-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 html.stylesheet=$(STYLESHEET_SRCDIR)/xorg.css
endif
CLEANFILES = $(spec_DATA)
diff --git a/specs/.gitignore b/specs/.gitignore
index 13312fe..6fa5c31 100644
--- a/specs/.gitignore
+++ b/specs/.gitignore
@@ -1,6 +1,4 @@
-# Add & Override for this directory and it's subdirectories
*.html
*.ps
*.pdf
*.txt
-*.css
diff --git a/specs/Makefile.am b/specs/Makefile.am
index 93e8e85..26a2b2f 100644
--- a/specs/Makefile.am
+++ b/specs/Makefile.am
@@ -41,11 +41,8 @@ spec_DATA += $(doc_sources:.xml=.txt)
endif
if HAVE_STYLESHEETS
-XMLTO_FLAGS = -m $(XSL_STYLESHEET)
-
-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 html.stylesheet=$(STYLESHEET_SRCDIR)/xorg.css
endif
CLEANFILES = $(spec_DATA)