comparison DOCS/xml/Makefile.inc @ 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 c84e248bd7e3
children cb44dec7706e
comparison
equal deleted inserted replaced
29965:1bff8cc9ca6b 29966:a08a776121b8
2 # Makefile.inc for Makefiles in subdirectories. 2 # Makefile.inc for Makefiles in subdirectories.
3 # 3 #
4 4
5 # Use customized html-chunk.xsl and/or html-single.xsl file if they exist... 5 # Use customized html-chunk.xsl and/or html-single.xsl file if they exist...
6 # Also add html-common.xsl to depends if it exists. 6 # Also add html-common.xsl to depends if it exists.
7 ifeq (html-common.xsl,$(wildcard html-common.xsl)) 7 COMMON_XSL_DEPS := ../html-common.xsl $(wildcard html-common.xsl)
8 COMMON_XSL_DEPS := html-common.xsl ../html-common.xsl
9 else
10 COMMON_XSL_DEPS := ../html-common.xsl
11 endif
12 8
13 ifeq (html-chunk.xsl,$(wildcard html-chunk.xsl)) 9 ifeq (html-chunk.xsl,$(wildcard html-chunk.xsl))
14 HTML_CHUNK_XSL := html-chunk.xsl 10 HTML_CHUNK_XSL := html-chunk.xsl
15 CHUNK_XSL_DEPS := $(HTML_CHUNK_XSL) ../html-chunk.xsl $(COMMON_XSL_DEPS) 11 CHUNK_XSL_DEPS := $(HTML_CHUNK_XSL) ../html-chunk.xsl $(COMMON_XSL_DEPS)
16 else 12 else