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

diego subversion at mplayerhq.hu
Mon Dec 14 00:17:11 CET 2009


Author: diego
Date: Mon Dec 14 00:17:11 2009
New Revision: 30008

Log:
Simplify setting COMMON_XSL_DEPS variable:
Use $(wildcard ) directly instead of using it to control a conditional.

Modified:
   trunk/DOCS/xml/Makefile.inc

Modified: trunk/DOCS/xml/Makefile.inc
==============================================================================
--- trunk/DOCS/xml/Makefile.inc	Sun Dec 13 23:51:55 2009	(r30007)
+++ trunk/DOCS/xml/Makefile.inc	Mon Dec 14 00:17:11 2009	(r30008)
@@ -4,11 +4,7 @@
 
 # Use customized html-chunk.xsl and/or html-single.xsl file if they exist...
 # Also add html-common.xsl to depends if it exists.
-ifeq (html-common.xsl,$(wildcard html-common.xsl))
-COMMON_XSL_DEPS := html-common.xsl ../html-common.xsl
-else
-COMMON_XSL_DEPS := ../html-common.xsl
-endif
+COMMON_XSL_DEPS := ../html-common.xsl $(wildcard html-common.xsl)
 
 ifeq (html-chunk.xsl,$(wildcard html-chunk.xsl))
 HTML_CHUNK_XSL := html-chunk.xsl


More information about the MPlayer-DOCS mailing list