# HG changeset patch # User diego # Date 1260754442 0 # Node ID 2d0562d1c52fd09053793fdc12abaaf7d7242f65 # Parent f5dc9e81586547bfd6c94fdf311fe0245c54caf1 Unconditionally symlink documentation files missing from a translation. diff -r f5dc9e815865 -r 2d0562d1c52f DOCS/xml/Makefile.inc --- 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` ; \ diff -r f5dc9e815865 -r 2d0562d1c52f DOCS/xml/README.maintainers --- 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 , 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. diff -r f5dc9e815865 -r 2d0562d1c52f DOCS/xml/cs/Makefile --- 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) diff -r f5dc9e815865 -r 2d0562d1c52f DOCS/xml/de/Makefile --- 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) diff -r f5dc9e815865 -r 2d0562d1c52f DOCS/xml/en/Makefile --- 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) diff -r f5dc9e815865 -r 2d0562d1c52f DOCS/xml/es/Makefile --- 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) diff -r f5dc9e815865 -r 2d0562d1c52f DOCS/xml/fr/Makefile --- 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) diff -r f5dc9e815865 -r 2d0562d1c52f DOCS/xml/hu/Makefile --- 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) diff -r f5dc9e815865 -r 2d0562d1c52f DOCS/xml/it/Makefile --- 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) diff -r f5dc9e815865 -r 2d0562d1c52f DOCS/xml/pl/Makefile --- 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) diff -r f5dc9e815865 -r 2d0562d1c52f DOCS/xml/ru/Makefile --- 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) diff -r f5dc9e815865 -r 2d0562d1c52f DOCS/xml/zh_CN/Makefile --- 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)