changeset 29998:0dacb57a3d3e

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.
author diego
date Mon, 14 Dec 2009 12:03:02 +0000
parents 997ae534ebfe
children 21ea15331e75
files DOCS/xml/Makefile.inc
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/DOCS/xml/Makefile.inc	Mon Dec 14 11:54:49 2009 +0000
+++ b/DOCS/xml/Makefile.inc	Mon Dec 14 12:03:02 2009 +0000
@@ -13,7 +13,7 @@
 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 @@
 	cd .. && sh configure
 
 $(SYMLINKS_DEPS):
-	test -r $(@F) || ln -s ../en/$@ $@
+	ln -s ../en/$@ $@
 
 .PHONY: all html-chunked html-single xmllint