[MPlayer-DOCS] r30018 - in trunk/DOCS/xml: Makefile.inc README.maintainers cs/Makefile de/Makefile en/Makefile es/Makefile fr/Makefile hu/Makefile it/Makefile pl/Makefile ru/Makefile zh_CN/Makefile

diego subversion at mplayerhq.hu
Mon Dec 14 02:51:42 CET 2009


Author: diego
Date: Mon Dec 14 02:51:42 2009
New Revision: 30018

Log:
Drop support for per-language stylesheets.
In all these years nobody ever used this feature.

Modified:
   trunk/DOCS/xml/Makefile.inc
   trunk/DOCS/xml/README.maintainers
   trunk/DOCS/xml/en/Makefile

Changes in other areas also in this revision:
Modified:
   trunk/DOCS/xml/cs/Makefile
   trunk/DOCS/xml/de/Makefile
   trunk/DOCS/xml/es/Makefile
   trunk/DOCS/xml/fr/Makefile
   trunk/DOCS/xml/hu/Makefile
   trunk/DOCS/xml/it/Makefile
   trunk/DOCS/xml/pl/Makefile
   trunk/DOCS/xml/ru/Makefile
   trunk/DOCS/xml/zh_CN/Makefile

Modified: trunk/DOCS/xml/Makefile.inc
==============================================================================
--- trunk/DOCS/xml/Makefile.inc	Mon Dec 14 02:34:02 2009	(r30017)
+++ trunk/DOCS/xml/Makefile.inc	Mon Dec 14 02:51:42 2009	(r30018)
@@ -22,9 +22,6 @@ HTML_SINGLE_XSL := ../html-single.xsl
 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: main.xml $(SYMLINKS_DEPS)
 	../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) $<

Modified: trunk/DOCS/xml/README.maintainers
==============================================================================
--- trunk/DOCS/xml/README.maintainers	Mon Dec 14 02:34:02 2009	(r30017)
+++ trunk/DOCS/xml/README.maintainers	Mon Dec 14 02:51:42 2009	(r30018)
@@ -67,11 +67,7 @@ Adding new translations
       <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).
 

Modified: trunk/DOCS/xml/en/Makefile
==============================================================================
--- trunk/DOCS/xml/en/Makefile	Mon Dec 14 02:34:02 2009	(r30017)
+++ trunk/DOCS/xml/en/Makefile	Mon Dec 14 02:51:42 2009	(r30018)
@@ -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)
 


More information about the MPlayer-DOCS mailing list