diff GNUmakefile @ 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 c0fef00f71fb
children fbba1f292dc9
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 $@)