Author: diego
Date: Mon Dec 14 13:03:02 2009
New Revision: 30040

Log:
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.

Modified:
   trunk/DOCS/xml/Makefile.inc

Modified: trunk/DOCS/xml/Makefile.inc
==============================================================================
--- trunk/DOCS/xml/Makefile.inc Mon Dec 14 12:54:49 2009        (r30039)
+++ trunk/DOCS/xml/Makefile.inc Mon Dec 14 13:03:02 2009        (r30040)
@@ -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 $(SING
        cd .. && sh configure
 
 $(SYMLINKS_DEPS):
-       test -r $(@F) || ln -s ../en/$@ $@
+       ln -s ../en/$@ $@
 
 .PHONY: all html-chunked html-single xmllint
_______________________________________________
MPlayer-DOCS mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-docs

Reply via email to