[MPlayer-DOCS] r30017 - 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:34:02 CET 2009
Author: diego
Date: Mon Dec 14 02:34:02 2009
New Revision: 30017
Log:
Unconditionally symlink documentation files missing from a translation.
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 01:57:33 2009 (r30016)
+++ trunk/DOCS/xml/Makefile.inc Mon Dec 14 02:34:02 2009 (r30017)
@@ -30,7 +30,7 @@ all: html-chunked html-single
html-chunked: $(HTMLDIR)/index.html
html-single: $(HTMLDIR)/MPlayer.html
-SYMLINKS_DEPS:=$(if $(findstring yes,$(USE_SYMLINKS)), $(patsubst ../en/%,%,$(wildcard ../en/*.xml)))
+SYMLINKS_DEPS:=$(patsubst ../en/%,%,$(wildcard ../en/*.xml))
xmllint: main.xml $(SYMLINKS_DEPS)
../xmllint.sh $<
@@ -48,7 +48,6 @@ $(HTMLDIR)/MPlayer.html: main.xml $(XSL_
cd .. && sh configure
$(filter-out main.xml, $(patsubst ../en/%,%, $(wildcard ../en/*.xml))):
- $(if $(findstring yes,$(USE_SYMLINKS)), ,exit 0;)\
for file in ../en/*.xml ; do \
if ! test -r `basename $$file` ; then \
ln -s $$file `basename $$file` ; \
Modified: trunk/DOCS/xml/README.maintainers
==============================================================================
--- trunk/DOCS/xml/README.maintainers Mon Dec 14 01:57:33 2009 (r30016)
+++ trunk/DOCS/xml/README.maintainers Mon Dec 14 02:34:02 2009 (r30017)
@@ -75,9 +75,4 @@ Adding new translations
like <!-- synced with r2 -->, where 2 is the revision of corresponding
English file (see comment at the top of file).
-7) While your translation isn't finished, you can change USE_SYMLINKS
- to "yes" in your Makefile. This will help you testing your translation:
- English files will be used instead of untranslated ones, when generating
- HTML docs.
-
That's all, in theory.
Modified: trunk/DOCS/xml/en/Makefile
==============================================================================
--- trunk/DOCS/xml/en/Makefile Mon Dec 14 01:57:33 2009 (r30016)
+++ trunk/DOCS/xml/en/Makefile Mon Dec 14 02:34:02 2009 (r30017)
@@ -1,9 +1,6 @@
# Set if you are using your own HTML stylesheet...
#HTML_STYLESHEET = mystyle.css
-# Change to yes to enable symlinking missing files to English master versions
-USE_SYMLINKS = no
-
# Dependency information.
$(HTMLDIR)/index.html $(HTMLDIR)/MPlayer.html: $(wildcard *.xml)
More information about the MPlayer-DOCS
mailing list