Mercurial > hg > nginx-site
diff GNUmakefile @ 721:81ad082bc837
Simplified things by including books.xslt, download.xslt and security.xslt
into article.xslt, and always using article.xslt to generate HTMLs. While
here, moved versions.xml from common dependencies to article dependencies.
Fixed menu in 404.html by applying templates from menu.xslt, and fixed its
dependency on DTD.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Fri, 12 Oct 2012 09:10:31 +0000 |
parents | cd0d1f0130db |
children | b2b10d564893 |
line wrap: on
line diff
--- a/GNUmakefile Thu Oct 11 10:23:05 2012 +0000 +++ b/GNUmakefile Fri Oct 12 09:10:31 2012 +0000 @@ -46,7 +46,6 @@ COMMON_DEPS = \ xml/menu.xml \ - xml/versions.xml \ xml/i18n.xml \ dtd/content.dtd \ xslt/dirname.xslt \ @@ -59,11 +58,15 @@ ARTICLE_DEPS = \ $(COMMON_DEPS) \ + xml/versions.xml \ dtd/article.dtd \ dtd/module.dtd \ xslt/article.xslt \ + xslt/books.xslt \ + xslt/directive.xslt \ xslt/donate.xslt \ - xslt/directive.xslt \ + xslt/download.xslt \ + xslt/security.xslt \ xslt/versions.xslt \ NEWS_DEPS = \ @@ -71,21 +74,6 @@ dtd/news.dtd \ xslt/news.xslt \ -DOWNLOAD_DEPS = \ - $(COMMON_DEPS) \ - dtd/article.dtd \ - xslt/download.xslt \ - -SECURITY_DEPS = \ - $(COMMON_DEPS) \ - dtd/article.dtd \ - xslt/security.xslt \ - -BOOK_DEPS = \ - $(COMMON_DEPS) \ - dtd/article.dtd \ - xslt/books.xslt \ - LANGS = en ru cn he ja tr all: news arx 404 $(LANGS) @@ -120,10 +108,11 @@ $(OUT)/404.html: \ xml/404.xml \ xml/menu.xml \ - dtd/article.dtd \ - dtd/content.dtd \ - xslt/ga.xslt \ - xslt/error.xslt + dtd/error.dtd \ + xslt/error.xslt \ + xslt/dirname.xslt \ + xslt/menu.xslt \ + xslt/ga.xslt $(call XSLT, xslt/error.xslt, $<, $@) $(OUT)/%.html: xml/%.xml \