[MPlayer-DOCS] r30036 - trunk/DOCS/xml/Makefile.inc

diego subversion at mplayerhq.hu
Mon Dec 14 04:43:54 CET 2009


Author: diego
Date: Mon Dec 14 04:43:54 2009
New Revision: 30036

Log:
Globally remove main.xml from SYMLINKS_DEPS. It should never be symlinked.

Modified:
   trunk/DOCS/xml/Makefile.inc

Modified: trunk/DOCS/xml/Makefile.inc
==============================================================================
--- trunk/DOCS/xml/Makefile.inc	Mon Dec 14 04:35:26 2009	(r30035)
+++ trunk/DOCS/xml/Makefile.inc	Mon Dec 14 04:43:54 2009	(r30036)
@@ -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 $(SING
 ../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


More information about the MPlayer-DOCS mailing list