changeset 29976:397bda90657c

Drop support for per-language stylesheets. In all these years nobody ever used this feature.
author diego
date Mon, 14 Dec 2009 01:51:42 +0000
parents 2d0562d1c52f
children 51c429db3e68
files DOCS/xml/Makefile.inc DOCS/xml/README.maintainers DOCS/xml/cs/Makefile DOCS/xml/de/Makefile DOCS/xml/en/Makefile DOCS/xml/es/Makefile DOCS/xml/fr/Makefile DOCS/xml/hu/Makefile DOCS/xml/it/Makefile DOCS/xml/pl/Makefile DOCS/xml/ru/Makefile DOCS/xml/zh_CN/Makefile
diffstat 12 files changed, 2 insertions(+), 39 deletions(-) [+]
line wrap: on
line diff
--- a/DOCS/xml/Makefile.inc	Mon Dec 14 01:34:02 2009 +0000
+++ b/DOCS/xml/Makefile.inc	Mon Dec 14 01:51:42 2009 +0000
@@ -22,9 +22,6 @@
 XSL_DEPS := $(HTML_SINGLE_XSL) ../html-common.xsl
 endif
 
-# Fall back to the default HTML stylesheet if none is specified.
-HTML_STYLESHEET ?= ../default.css
-
 # This is the main target...
 all: html-chunked html-single
 html-chunked: $(HTMLDIR)/index.html
@@ -36,7 +33,7 @@
 	../xmllint.sh $<
 
 $(HTMLDIR)/default.css:
-	cp -f $(HTML_STYLESHEET) $(@D)
+	cp -f ../default.css $(@D)
 
 $(HTMLDIR)/index.html: main.xml $(CHUNK_XSL_DEPS) $(SYMLINKS_DEPS) xmllint $(HTMLDIR)/default.css
 	../xsltproc.sh $(HTMLDIR)/ $(HTML_CHUNK_XSL) $<
--- a/DOCS/xml/README.maintainers	Mon Dec 14 01:34:02 2009 +0000
+++ b/DOCS/xml/README.maintainers	Mon Dec 14 01:51:42 2009 +0000
@@ -67,11 +67,7 @@
       <xsl:param name="chunker.output.encoding" select="'your_encoding'"/>
       <xsl:output encoding="your_encoding"/>
 
-5) If you are using your own HTML stylesheet, edit your Makefile and set
-   the HTML_STYLESHEET variable to its name. Please, don't call your HTML
-   stylesheet 'default.css'.
-
-6) In each translated file after the <?xml ... ?> tag you must put a note
+5) In each translated file after the <?xml ... ?> tag you must put a note
    like <!-- synced with r2 -->, where 2 is the revision of corresponding
    English file (see comment at the top of file).
 
--- a/DOCS/xml/cs/Makefile	Mon Dec 14 01:34:02 2009 +0000
+++ b/DOCS/xml/cs/Makefile	Mon Dec 14 01:51:42 2009 +0000
@@ -1,6 +1,3 @@
-# Set if you are using your own HTML stylesheet...
-#HTML_STYLESHEET = mystyle.css
-
 # Dependency information.
 $(HTMLDIR)/index.html $(HTMLDIR)/MPlayer.html: $(wildcard *.xml)
 
--- a/DOCS/xml/de/Makefile	Mon Dec 14 01:34:02 2009 +0000
+++ b/DOCS/xml/de/Makefile	Mon Dec 14 01:51:42 2009 +0000
@@ -1,6 +1,3 @@
-# Set if you are using your own HTML stylesheet...
-#HTML_STYLESHEET = mystyle.css
-
 # Dependency information.
 $(HTMLDIR)/index.html $(HTMLDIR)/MPlayer.html: $(wildcard *.xml)
 
--- a/DOCS/xml/en/Makefile	Mon Dec 14 01:34:02 2009 +0000
+++ b/DOCS/xml/en/Makefile	Mon Dec 14 01:51:42 2009 +0000
@@ -1,6 +1,3 @@
-# Set if you are using your own HTML stylesheet...
-#HTML_STYLESHEET = mystyle.css
-
 # Dependency information.
 $(HTMLDIR)/index.html $(HTMLDIR)/MPlayer.html: $(wildcard *.xml)
 
--- a/DOCS/xml/es/Makefile	Mon Dec 14 01:34:02 2009 +0000
+++ b/DOCS/xml/es/Makefile	Mon Dec 14 01:51:42 2009 +0000
@@ -1,6 +1,3 @@
-# Set if you are using your own HTML stylesheet...
-#HTML_STYLESHEET = mystyle.css
-
 # Dependency information.
 $(HTMLDIR)/index.html $(HTMLDIR)/MPlayer.html: $(wildcard *.xml)
 
--- a/DOCS/xml/fr/Makefile	Mon Dec 14 01:34:02 2009 +0000
+++ b/DOCS/xml/fr/Makefile	Mon Dec 14 01:51:42 2009 +0000
@@ -1,6 +1,3 @@
-# Set if you are using your own HTML stylesheet...
-#HTML_STYLESHEET = mystyle.css
-
 # Dependency information.
 $(HTMLDIR)/index.html $(HTMLDIR)/MPlayer.html: $(wildcard *.xml)
 
--- a/DOCS/xml/hu/Makefile	Mon Dec 14 01:34:02 2009 +0000
+++ b/DOCS/xml/hu/Makefile	Mon Dec 14 01:51:42 2009 +0000
@@ -1,6 +1,3 @@
-# Set if you are using your own HTML stylesheet...
-#HTML_STYLESHEET = mystyle.css
-
 # Dependency information.
 $(HTMLDIR)/index.html $(HTMLDIR)/MPlayer.html: $(wildcard *.xml)
 
--- a/DOCS/xml/it/Makefile	Mon Dec 14 01:34:02 2009 +0000
+++ b/DOCS/xml/it/Makefile	Mon Dec 14 01:51:42 2009 +0000
@@ -1,6 +1,3 @@
-# Set if you are using your own HTML stylesheet...
-#HTML_STYLESHEET = mystyle.css
-
 # Dependency information.
 $(HTMLDIR)/index.html $(HTMLDIR)/MPlayer.html: $(wildcard *.xml)
 
--- a/DOCS/xml/pl/Makefile	Mon Dec 14 01:34:02 2009 +0000
+++ b/DOCS/xml/pl/Makefile	Mon Dec 14 01:51:42 2009 +0000
@@ -1,6 +1,3 @@
-# Set if you are using your own HTML stylesheet...
-#HTML_STYLESHEET = mystyle.css
-
 # Dependency information.
 $(HTMLDIR)/index.html $(HTMLDIR)/MPlayer.html: $(wildcard *.xml)
 
--- a/DOCS/xml/ru/Makefile	Mon Dec 14 01:34:02 2009 +0000
+++ b/DOCS/xml/ru/Makefile	Mon Dec 14 01:51:42 2009 +0000
@@ -1,6 +1,3 @@
-# Set if you are using your own HTML stylesheet...
-#HTML_STYLESHEET = mystyle.css
-
 # Dependency information.
 $(HTMLDIR)/index.html $(HTMLDIR)/MPlayer.html: $(wildcard *.xml)
 
--- a/DOCS/xml/zh_CN/Makefile	Mon Dec 14 01:34:02 2009 +0000
+++ b/DOCS/xml/zh_CN/Makefile	Mon Dec 14 01:51:42 2009 +0000
@@ -1,6 +1,3 @@
-# Set if you are using your own HTML stylesheet...
-#HTML_STYLESHEET = mystyle.css
-
 # Dependency information.
 $(HTMLDIR)/index.html $(HTMLDIR)/MPlayer.html: $(wildcard *.xml)