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

diego subversion at mplayerhq.hu
Mon Dec 14 05:06:25 CET 2009


Author: diego
Date: Mon Dec 14 05:06:25 2009
New Revision: 30038

Log:
Use $(notdir ) to filter out path prefixes instead of reinventing it poorly.

Modified:
   trunk/DOCS/xml/Makefile.inc

Modified: trunk/DOCS/xml/Makefile.inc
==============================================================================
--- trunk/DOCS/xml/Makefile.inc	Mon Dec 14 04:50:34 2009	(r30037)
+++ trunk/DOCS/xml/Makefile.inc	Mon Dec 14 05:06:25 2009	(r30038)
@@ -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,$(patsubst ../en/%,%,$(wildcard ../en/*.xml)))
+SYMLINKS_DEPS := $(filter-out main.xml,$(notdir $(wildcard ../en/*.xml)))
 
 xmllint: main.xml $(SYMLINKS_DEPS)
 	../xmllint.sh $<


More information about the MPlayer-DOCS mailing list