changeset 29966:a08a776121b8

Simplify setting COMMON_XSL_DEPS variable: Use $(wildcard ) directly instead of using it to control a conditional.
author diego
date Sun, 13 Dec 2009 23:17:11 +0000
parents 1bff8cc9ca6b
children cb44dec7706e
files DOCS/xml/Makefile.inc
diffstat 1 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/DOCS/xml/Makefile.inc	Sun Dec 13 22:51:55 2009 +0000
+++ b/DOCS/xml/Makefile.inc	Sun Dec 13 23:17:11 2009 +0000
@@ -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