# HG changeset patch # User diego # Date 1260746231 0 # Node ID a08a776121b86f8059cf1122938acda5d84d06da # Parent 1bff8cc9ca6b840d990a9a6ecf63b6102e4ad7d0 Simplify setting COMMON_XSL_DEPS variable: Use $(wildcard ) directly instead of using it to control a conditional. diff -r 1bff8cc9ca6b -r a08a776121b8 DOCS/xml/Makefile.inc --- 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