From 0f4aed64d1ffab14b5f0532458c83e58a551369f Mon Sep 17 00:00:00 2001 From: diego Date: Mon, 14 Dec 2009 03:50:34 +0000 Subject: Avoid hackish shell loop to symlink missing XML source files. Instead, employ make syntax to generate the shell command arguments. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30037 b3059339-0415-0410-9bf9-f77b7e298cf2 --- DOCS/xml/Makefile.inc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'DOCS') diff --git a/DOCS/xml/Makefile.inc b/DOCS/xml/Makefile.inc index 5422b2eec1..304b16acc9 100644 --- a/DOCS/xml/Makefile.inc +++ b/DOCS/xml/Makefile.inc @@ -31,8 +31,6 @@ $(HTMLDIR)/MPlayer.html: main.xml $(SINGLE_XSL_DEPS) $(SYMLINKS_DEPS) xmllint $( cd .. && sh configure $(SYMLINKS_DEPS): - for file in ../en/*.xml ; do \ - test -r `basename $$file` || ln -s $$file `basename $$file` ; \ - done + test -r $(@F) || ln -s ../en/$@ $@ .PHONY: all html-chunked html-single xmllint -- cgit v1.2.3