summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-12-13 23:17:11 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-12-13 23:17:11 +0000
commit79e3b42c2a12b3e57076101566e06540ebe6a6d6 (patch)
tree8d9ac48a032a354e5e0017d34711be6e63a653c6
parentb72afc004c0bb745d05f38224660444615e5d15d (diff)
downloadmpv-79e3b42c2a12b3e57076101566e06540ebe6a6d6.tar.bz2
mpv-79e3b42c2a12b3e57076101566e06540ebe6a6d6.tar.xz
Simplify setting COMMON_XSL_DEPS variable:
Use $(wildcard ) directly instead of using it to control a conditional. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30008 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--DOCS/xml/Makefile.inc6
1 files changed, 1 insertions, 5 deletions
diff --git a/DOCS/xml/Makefile.inc b/DOCS/xml/Makefile.inc
index 644dac7083..52cdc31e15 100644
--- a/DOCS/xml/Makefile.inc
+++ b/DOCS/xml/Makefile.inc
@@ -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