aboutsummaryrefslogtreecommitdiffhomepage
path: root/DOCS
diff options
context:
space:
mode:
authorGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-12-14 12:03:02 +0000
committerGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-12-14 12:03:02 +0000
commit69171f86e27b2e4c4498600a1f0887d165c20b1b (patch)
tree5d99c5e19d6b72160028b6b09d6bbf4addd9cc67 /DOCS
parent1745f18511c9022f1fe9b9cc930d651e3eae09df (diff)
Filter list of missing source files so that it only contains nonexisting files.
Thus those files can be symlinked directly without testing if they exist. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30040 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/xml/Makefile.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/DOCS/xml/Makefile.inc b/DOCS/xml/Makefile.inc
index 9bd91741db..33639bed7e 100644
--- a/DOCS/xml/Makefile.inc
+++ b/DOCS/xml/Makefile.inc
@@ -13,7 +13,7 @@ all: html-chunked html-single
html-chunked: $(HTMLDIR)/index.html
html-single: $(HTMLDIR)/MPlayer.html
-SYMLINKS_DEPS := $(filter-out main.xml,$(notdir $(wildcard ../en/*.xml)))
+SYMLINKS_DEPS := $(filter-out $(wildcard *.xml),$(notdir $(wildcard ../en/*.xml)))
xmllint: main.xml $(SYMLINKS_DEPS)
../xmllint.sh $<
@@ -31,6 +31,6 @@ $(HTMLDIR)/MPlayer.html: main.xml $(SINGLE_XSL_DEPS) $(SYMLINKS_DEPS) xmllint $(
cd .. && sh configure
$(SYMLINKS_DEPS):
- test -r $(@F) || ln -s ../en/$@ $@
+ ln -s ../en/$@ $@
.PHONY: all html-chunked html-single xmllint