# HG changeset patch # User diego # Date 1260762234 0 # Node ID 0eba66234d64bca89101e688b2cf491a14ae6fc9 # Parent 20a55579b6e4c531edb55dba4587a1b39daa2f45 Globally remove main.xml from SYMLINKS_DEPS. It should never be symlinked. diff -r 20a55579b6e4 -r 0eba66234d64 DOCS/xml/Makefile.inc --- a/DOCS/xml/Makefile.inc Mon Dec 14 03:35:26 2009 +0000 +++ b/DOCS/xml/Makefile.inc Mon Dec 14 03:43:54 2009 +0000 @@ -13,7 +13,7 @@ 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 @@ ../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