Mercurial > mplayer.hg
changeset 29975:2d0562d1c52f
Unconditionally symlink documentation files missing from a translation.
author | diego |
---|---|
date | Mon, 14 Dec 2009 01:34:02 +0000 |
parents | f5dc9e815865 |
children | 397bda90657c |
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, 1 insertions(+), 37 deletions(-) [+] |
line wrap: on
line diff
--- a/DOCS/xml/Makefile.inc Mon Dec 14 00:57:33 2009 +0000 +++ b/DOCS/xml/Makefile.inc Mon Dec 14 01:34:02 2009 +0000 @@ -30,7 +30,7 @@ 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 @@ 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` ; \
--- a/DOCS/xml/README.maintainers Mon Dec 14 00:57:33 2009 +0000 +++ b/DOCS/xml/README.maintainers Mon Dec 14 01:34:02 2009 +0000 @@ -75,9 +75,4 @@ 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.
--- a/DOCS/xml/cs/Makefile Mon Dec 14 00:57:33 2009 +0000 +++ b/DOCS/xml/cs/Makefile Mon Dec 14 01:34:02 2009 +0000 @@ -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)
--- a/DOCS/xml/de/Makefile Mon Dec 14 00:57:33 2009 +0000 +++ b/DOCS/xml/de/Makefile Mon Dec 14 01:34:02 2009 +0000 @@ -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)
--- a/DOCS/xml/en/Makefile Mon Dec 14 00:57:33 2009 +0000 +++ b/DOCS/xml/en/Makefile Mon Dec 14 01:34:02 2009 +0000 @@ -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)
--- a/DOCS/xml/es/Makefile Mon Dec 14 00:57:33 2009 +0000 +++ b/DOCS/xml/es/Makefile Mon Dec 14 01:34:02 2009 +0000 @@ -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 = yes - # Dependency information. $(HTMLDIR)/index.html $(HTMLDIR)/MPlayer.html: $(wildcard *.xml)
--- a/DOCS/xml/fr/Makefile Mon Dec 14 00:57:33 2009 +0000 +++ b/DOCS/xml/fr/Makefile Mon Dec 14 01:34:02 2009 +0000 @@ -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)
--- a/DOCS/xml/hu/Makefile Mon Dec 14 00:57:33 2009 +0000 +++ b/DOCS/xml/hu/Makefile Mon Dec 14 01:34:02 2009 +0000 @@ -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)
--- a/DOCS/xml/it/Makefile Mon Dec 14 00:57:33 2009 +0000 +++ b/DOCS/xml/it/Makefile Mon Dec 14 01:34:02 2009 +0000 @@ -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 = yes - # Dependency information. $(HTMLDIR)/index.html $(HTMLDIR)/MPlayer.html: $(wildcard *.xml)
--- a/DOCS/xml/pl/Makefile Mon Dec 14 00:57:33 2009 +0000 +++ b/DOCS/xml/pl/Makefile Mon Dec 14 01:34:02 2009 +0000 @@ -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)
--- a/DOCS/xml/ru/Makefile Mon Dec 14 00:57:33 2009 +0000 +++ b/DOCS/xml/ru/Makefile Mon Dec 14 01:34:02 2009 +0000 @@ -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)
--- a/DOCS/xml/zh_CN/Makefile Mon Dec 14 00:57:33 2009 +0000 +++ b/DOCS/xml/zh_CN/Makefile Mon Dec 14 01:34:02 2009 +0000 @@ -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 = yes - # Dependency information. $(HTMLDIR)/index.html $(HTMLDIR)/MPlayer.html: $(wildcard *.xml)