Mercurial > hg > nginx-site
changeset 428:fc2bd185dc02
Listed .xslt files explicitly as targets so they never get considered
to be intermediate by make. This addresses an issue mentioned in r28
without a side effect.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Mon, 27 Feb 2012 12:21:21 +0000 |
parents | d4464d7bff6c |
children | 2b9507b2cdf3 |
files | GNUmakefile |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/GNUmakefile +++ b/GNUmakefile @@ -148,6 +148,9 @@ include $(foreach lang, $(LANGS), xml/$ $(call XSLT, xslt/article.xslt, $<, $@) +# Prevent intermediate .xslt files from being removed. +$(patsubst xsls/%.xsls,xslt/%.xslt,$(wildcard xsls/*.xsls)): + xslt/%.xslt: xsls/%.xsls \ xsls/dump.xsls mkdir -p $(dir $@)