diff options
author | Gaetan Nadon <memsize@videotron.ca> | 2010-11-09 13:04:55 -0500 |
---|---|---|
committer | Gaetan Nadon <memsize@videotron.ca> | 2010-11-09 13:04:55 -0500 |
commit | 549dd5f470148df74e65ce7bb1af316a2848a71d (patch) | |
tree | ae5b345dc3f253c90436043b4292a06ea49ee6e9 | |
parent | ea7e12eaf84ada28f4933e85ecf51a47c9db0b93 (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/.gitignore | 2 | ||||
-rw-r--r-- | doc/Makefile.am | 7 | ||||
-rw-r--r-- | specs/.gitignore | 2 | ||||
-rw-r--r-- | specs/Makefile.am | 7 |
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) |