Mercurial > hg > nginx-site
diff xml/ru/GNUmakefile @ 212:18217133791f
Unified makefiles so they are diff'able.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Tue, 29 Nov 2011 11:22:26 +0000 |
parents | 8cc01e2179a9 |
children | c99c8df86eb9 |
line wrap: on
line diff
--- a/xml/ru/GNUmakefile Tue Nov 29 11:21:44 2011 +0000 +++ b/xml/ru/GNUmakefile Tue Nov 29 11:22:26 2011 +0000 @@ -1,78 +1,84 @@ +LANG = ru -DOCS_RU = ru/docs/faq \ - ru/docs/control \ - ru/docs/events \ - ru/docs/example \ - ru/docs/hash \ - ru/docs/install \ - ru/docs/ngx_core_module \ - ru/docs/switches \ - ru/docs/syntax \ - ru/docs/virtual_hosts \ - ru/docs/windows \ - ru/docs/http/ngx_http_access_module \ - ru/docs/http/ngx_http_addition_module \ - ru/docs/http/ngx_http_auth_basic_module \ - ru/docs/http/ngx_http_autoindex_module \ - ru/docs/http/ngx_http_browser_module \ - ru/docs/http/ngx_http_charset_module \ - ru/docs/http/ngx_http_core_module \ - ru/docs/http/ngx_http_dav_module \ - ru/docs/http/ngx_http_empty_gif_module \ - ru/docs/http/ngx_http_fastcgi_module \ - ru/docs/http/ngx_http_flv_module \ - ru/docs/http/ngx_http_geo_module \ - ru/docs/http/ngx_http_geoip_module \ - ru/docs/http/ngx_http_gzip_module \ - ru/docs/http/ngx_http_gzip_static_module \ - ru/docs/http/ngx_http_headers_module \ - ru/docs/http/ngx_http_image_filter_module \ - ru/docs/http/ngx_http_index_module \ - ru/docs/http/ngx_http_limit_conn_module \ - ru/docs/http/ngx_http_limit_req_module \ - ru/docs/http/ngx_http_limit_zone_module \ - ru/docs/http/ngx_http_log_module \ - ru/docs/http/ngx_http_map_module \ - ru/docs/http/ngx_http_memcached_module \ - ru/docs/http/ngx_http_mp4_module \ - ru/docs/http/ngx_http_perl_module \ - ru/docs/http/ngx_http_proxy_module \ - ru/docs/http/ngx_http_random_index_module \ - ru/docs/http/ngx_http_realip_module \ - ru/docs/http/ngx_http_referer_module \ - ru/docs/http/ngx_http_rewrite_module \ - ru/docs/http/ngx_http_secure_link_module \ - ru/docs/http/ngx_http_split_clients_module \ - ru/docs/http/ngx_http_ssi_module \ - ru/docs/http/ngx_http_ssl_module \ - ru/docs/http/ngx_http_sub_module \ - ru/docs/http/ngx_http_upstream_module \ - ru/docs/http/ngx_http_userid_module \ - ru/docs/http/ngx_http_xslt_module \ +DOCS = \ + faq \ + install \ + windows \ + events \ + syntax \ + example \ + switches \ + virtual_hosts \ + control \ + hash \ + +DOCS_XML = $(foreach name, $(DOCS), xml/$(LANG)/docs/$(name).xml) +DOCS_HTML = $(foreach name, $(DOCS), $(OUT)/$(LANG)/docs/$(name).html) + +FAQ = \ + sys_errlist \ + +FAQ_XML = $(foreach name, $(FAQ), xml/$(LANG)/docs/$(name).xml) +FAQ_HTML = $(foreach name, $(FAQ), $(OUT)/$(LANG)/docs/$(name).html) -DOCS_RU_XML = $(foreach name, $(DOCS_RU), xml/$(name).xml) -DOCS_RU_HTML = $(foreach name, $(DOCS_RU), $(OUT)/$(name).html) - -FAQ_RU = ru/docs/sys_errlist \ - -FAQ_RU_XML = $(foreach name, $(FAQ_RU), xml/$(name).xml) -FAQ_RU_HTML = $(foreach name, $(FAQ_RU), $(OUT)/$(name).html) +REFS = \ + ngx_core_module \ + http/ngx_http_access_module \ + http/ngx_http_addition_module \ + http/ngx_http_auth_basic_module \ + http/ngx_http_autoindex_module \ + http/ngx_http_browser_module \ + http/ngx_http_charset_module \ + http/ngx_http_core_module \ + http/ngx_http_dav_module \ + http/ngx_http_empty_gif_module \ + http/ngx_http_fastcgi_module \ + http/ngx_http_flv_module \ + http/ngx_http_geo_module \ + http/ngx_http_geoip_module \ + http/ngx_http_gzip_module \ + http/ngx_http_gzip_static_module \ + http/ngx_http_headers_module \ + http/ngx_http_image_filter_module \ + http/ngx_http_index_module \ + http/ngx_http_limit_conn_module \ + http/ngx_http_limit_req_module \ + http/ngx_http_limit_zone_module \ + http/ngx_http_log_module \ + http/ngx_http_map_module \ + http/ngx_http_memcached_module \ + http/ngx_http_mp4_module \ + http/ngx_http_perl_module \ + http/ngx_http_proxy_module \ + http/ngx_http_random_index_module \ + http/ngx_http_realip_module \ + http/ngx_http_referer_module \ + http/ngx_http_rewrite_module \ + http/ngx_http_secure_link_module \ + http/ngx_http_split_clients_module \ + http/ngx_http_ssi_module \ + http/ngx_http_ssl_module \ + http/ngx_http_sub_module \ + http/ngx_http_upstream_module \ + http/ngx_http_userid_module \ + http/ngx_http_xslt_module \ -ru: \ - $(OUT)/ru/index.html \ - $(OUT)/ru/download.html \ - $(OUT)/ru/support.html \ - $(OUT)/ru/docs/index.html \ - $(DOCS_RU_HTML) \ - $(FAQ_RU_HTML) \ +REFS_XML = $(foreach name, $(REFS), xml/$(LANG)/docs/$(name).xml) +REFS_HTML = $(foreach name, $(REFS), $(OUT)/$(LANG)/docs/$(name).html) -$(OUT)/ru/download.html: \ - xml/ru/download.xml \ +$(LANG): \ + $(OUT)/$(LANG)/index.html \ + $(OUT)/$(LANG)/download.html \ + $(OUT)/$(LANG)/support.html \ + $(OUT)/$(LANG)/docs/index.html \ + $(DOCS_HTML) \ + $(REFS_HTML) \ + $(FAQ_HTML) \ + +$(OUT)/$(LANG)/download.html: \ + xml/$(LANG)/download.xml \ $(DOWNLOAD_DEPS) $(call XSLT, xslt/download.xslt, $<, $@) -$(OUT)/ru/docs/faq.html: \ - xml/ru/docs/faq.xml \ - $(FAQ_RU_XML) \ - $(ARTICLE_DEPS) - $(call XSLT, xslt/article.xslt, $<, $@) +$(OUT)/$(LANG)/docs/faq.html: \ + $(FAQ_XML) \