Mercurial > hg > nginx-site
diff GNUmakefile @ 28:02fc5e96a305
Moving decision logic from Makefile to XSLT because there is
no simple way to force Gmake to use the $(OUT)/%_module.html
target instead of $(OUT)/%.html target.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 29 Sep 2011 14:14:55 +0000 |
parents | 1201fabeccf7 |
children | 3cc1fbdc53e8 |
line wrap: on
line diff
--- a/GNUmakefile +++ b/GNUmakefile @@ -46,13 +46,6 @@ ARTICLE_XSLT = xml/menu.xml \ dtd/article.dtd \ dtd/content.dtd \ -MODULE_XSLT = xml/menu.xml \ - xml/versions.xml \ - xslt/module.xslt \ - xslt/directive.xslt \ - dtd/module.dtd \ - dtd/content.dtd \ - include xml/en/GNUmakefile include xml/ja/GNUmakefile include xml/he/GNUmakefile @@ -98,11 +91,6 @@ include xml/tr/GNUmakefile .SECONDARY: -$(OUT)/%_module.html: xml/%_module.xml \ - $(MODULE_XSLT) - $(call XSLT, xslt/module.xslt, $<, $@) - - $(OUT)/%.html: xml/%.xml \ $(ARTICLE_XSLT) $(call XSLT, xslt/article.xslt, $<, $@)