changeset 29996:bf0e351cdb20

Use $(notdir ) to filter out path prefixes instead of reinventing it poorly.
author diego
date Mon, 14 Dec 2009 04:06:25 +0000
parents 8b075e14285c
children 997ae534ebfe
files DOCS/xml/Makefile.inc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/DOCS/xml/Makefile.inc	Mon Dec 14 03:50:34 2009 +0000
+++ b/DOCS/xml/Makefile.inc	Mon Dec 14 04:06:25 2009 +0000
@@ -13,7 +13,7 @@
 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 $<