mirror of
https://github.com/mpv-player/mpv
synced 2024-12-25 16:33:02 +00:00
Unconditionally symlink documentation files missing from a translation.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30017 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
1f52f67652
commit
130e2f9b67
@ -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_DEPS) $(SYMLINKS_DEPS) xmllint $(HTMLDIR
|
||||
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` ; \
|
||||
|
@ -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.
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user