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

diego subversion at mplayerhq.hu
Mon Dec 14 04:32:12 CET 2009


Author: diego
Date: Mon Dec 14 04:32:12 2009
New Revision: 30034

Log:
Simplify shell command to symlink missing translated source files.

Modified:
   trunk/DOCS/xml/Makefile.inc

Modified: trunk/DOCS/xml/Makefile.inc
==============================================================================
--- trunk/DOCS/xml/Makefile.inc	Mon Dec 14 04:19:01 2009	(r30033)
+++ trunk/DOCS/xml/Makefile.inc	Mon Dec 14 04:32:12 2009	(r30034)
@@ -32,9 +32,7 @@ $(HTMLDIR)/MPlayer.html: main.xml $(SING
 
 $(filter-out main.xml, $(patsubst ../en/%,%, $(wildcard ../en/*.xml))):
 	for file in ../en/*.xml ; do \
-	if ! test -r `basename $$file` ; then \
-		ln -s $$file `basename $$file` ; \
-	fi; \
+	test -r `basename $$file` || ln -s $$file `basename $$file` ; \
 	done
 
 .PHONY: all html-chunked html-single xmllint


More information about the MPlayer-DOCS mailing list