# HG changeset patch # User Ruslan Ermilov # Date 1342789432 0 # Node ID e0544f2c4a705c3e287fd14cedac172c31c8ba25 # Parent 6124acda415e09db11222db9c32bb0aca1dd1340 Simplified maintenance of dependencies. diff --git a/GNUmakefile b/GNUmakefile --- a/GNUmakefile +++ b/GNUmakefile @@ -38,84 +38,47 @@ define JPEGNORM endef -ARTICLE_DEPS = \ +COMMON_DEPS = \ xml/menu.xml \ xml/versions.xml \ xml/i18n.xml \ - dtd/article.dtd \ dtd/content.dtd \ - dtd/module.dtd \ - xslt/article.xslt \ - xslt/dirname.xslt \ - xslt/link.xslt \ - xslt/style.xslt \ - xslt/body.xslt \ - xslt/menu.xslt \ - xslt/donate.xslt \ - xslt/ga.xslt \ - xslt/directive.xslt \ - xslt/content.xslt \ - xslt/versions.xslt - -NEWS_DEPS = \ - xml/menu.xml \ - xml/versions.xml \ - xml/i18n.xml \ - dtd/news.dtd \ - dtd/content.dtd \ - xslt/news.xslt \ xslt/dirname.xslt \ xslt/link.xslt \ xslt/style.xslt \ xslt/body.xslt \ xslt/menu.xslt \ xslt/ga.xslt \ - xslt/content.xslt + xslt/content.xslt \ + +ARTICLE_DEPS = \ + $(COMMON_DEPS) \ + dtd/article.dtd \ + dtd/module.dtd \ + xslt/article.xslt \ + xslt/donate.xslt \ + xslt/directive.xslt \ + xslt/versions.xslt \ + +NEWS_DEPS = \ + $(COMMON_DEPS) \ + dtd/news.dtd \ + xslt/news.xslt \ DOWNLOAD_DEPS = \ - xml/menu.xml \ - xml/versions.xml \ - xml/i18n.xml \ + $(COMMON_DEPS) \ dtd/article.dtd \ - dtd/content.dtd \ xslt/download.xslt \ - xslt/dirname.xslt \ - xslt/link.xslt \ - xslt/style.xslt \ - xslt/body.xslt \ - xslt/menu.xslt \ - xslt/ga.xslt \ - xslt/content.xslt SECURITY_DEPS = \ - xml/menu.xml \ - xml/versions.xml \ - xml/i18n.xml \ + $(COMMON_DEPS) \ dtd/article.dtd \ - dtd/content.dtd \ xslt/security.xslt \ - xslt/dirname.xslt \ - xslt/link.xslt \ - xslt/style.xslt \ - xslt/body.xslt \ - xslt/menu.xslt \ - xslt/ga.xslt \ - xslt/content.xslt BOOK_DEPS = \ - xml/menu.xml \ - xml/versions.xml \ - xml/i18n.xml \ + $(COMMON_DEPS) \ dtd/article.dtd \ - dtd/content.dtd \ xslt/books.xslt \ - xslt/dirname.xslt \ - xslt/link.xslt \ - xslt/style.xslt \ - xslt/body.xslt \ - xslt/menu.xslt \ - xslt/ga.xslt \ - xslt/content.xslt LANGS = en ru cn he ja tr