summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-12-14 03:50:34 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-12-14 03:50:34 +0000
commit0f4aed64d1ffab14b5f0532458c83e58a551369f (patch)
tree32986702321a051c342c401fdc23bd42a07f4b85
parent49b5defb6effe0ee6c9d331c1b5c3a6d09ffc3d4 (diff)
downloadmpv-0f4aed64d1ffab14b5f0532458c83e58a551369f.tar.bz2
mpv-0f4aed64d1ffab14b5f0532458c83e58a551369f.tar.xz
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
-rw-r--r--DOCS/xml/Makefile.inc4
1 files changed, 1 insertions, 3 deletions
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