summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
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 34baa5a6e6..5422b2eec1 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:=$(patsubst ../en/%,%,$(wildcard ../en/*.xml))
+SYMLINKS_DEPS := $(filter-out main.xml,$(patsubst ../en/%,%,$(wildcard ../en/*.xml)))
xmllint: main.xml $(SYMLINKS_DEPS)
../xmllint.sh $<
@@ -30,7 +30,7 @@ $(HTMLDIR)/MPlayer.html: main.xml $(SINGLE_XSL_DEPS) $(SYMLINKS_DEPS) xmllint $(
../html-chunk.xsl ../html-single.xsl main.xml:
cd .. && sh configure
-$(filter-out main.xml, $(SYMLINKS_DEPS)):
+$(SYMLINKS_DEPS):
for file in ../en/*.xml ; do \
test -r `basename $$file` || ln -s $$file `basename $$file` ; \
done