From 69171f86e27b2e4c4498600a1f0887d165c20b1b Mon Sep 17 00:00:00 2001 From: diego Date: Mon, 14 Dec 2009 12:03:02 +0000 Subject: 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 --- DOCS/xml/Makefile.inc | 4 ++-- 1 file 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 -- cgit v1.2.3