Mercurial > hg > nginx-site
comparison xml/en/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 | eed54ef19197 |
children | abb48e50ff7f |
comparison
equal
deleted
inserted
replaced
211:fa4a630e61c8 | 212:18217133791f |
---|---|
1 LANG = en | |
1 | 2 |
2 DOCS_EN = en/docs/control \ | 3 DOCS = \ |
3 en/docs/introduction \ | 4 introduction \ |
4 en/docs/howto \ | 5 howto \ |
5 en/docs/faq \ | 6 faq \ |
6 en/docs/windows \ | 7 windows \ |
8 control \ | |
7 | 9 |
8 DOCS_EN_XML = $(foreach name, $(DOCS_EN), xml/$(name).xml) | 10 DOCS_XML = $(foreach name, $(DOCS), xml/$(LANG)/docs/$(name).xml) |
9 DOCS_EN_HTML = $(foreach name, $(DOCS_EN), $(OUT)/$(name).html) | 11 DOCS_HTML = $(foreach name, $(DOCS), $(OUT)/$(LANG)/docs/$(name).html) |
10 | 12 |
11 INTRO_EN = en/docs/http/request_processing \ | 13 INTRO = \ |
12 en/docs/http/configuring_https_servers \ | 14 http/request_processing \ |
13 en/docs/http/server_names \ | 15 http/server_names \ |
16 http/configuring_https_servers \ | |
14 | 17 |
15 INTRO_EN_XML = $(foreach name, $(INTRO_EN), xml/$(name).xml) | 18 INTRO_XML = $(foreach name, $(INTRO), xml/$(LANG)/docs/$(name).xml) |
16 INTRO_EN_HTML = $(foreach name, $(INTRO_EN), $(OUT)/$(name).html) | 19 INTRO_HTML = $(foreach name, $(INTRO), $(OUT)/$(LANG)/docs/$(name).html) |
17 | 20 |
18 HOWTO_EN = en/docs/debugging_log \ | 21 HOWTO = \ |
19 en/docs/http/converting_rewrite_rules \ | 22 debugging_log \ |
20 en/docs/freebsd_tuning \ | 23 http/converting_rewrite_rules \ |
21 en/docs/howto_build_on_win32 \ | 24 howto_build_on_win32 \ |
25 freebsd_tuning \ | |
22 | 26 |
23 REFS_EN_XML = $(foreach name, $(REFS_EN), xml/$(name).xml) | 27 HOWTO_XML = $(foreach name, $(HOWTO), xml/$(LANG)/docs/$(name).xml) |
24 REFS_EN_HTML = $(foreach name, $(REFS_EN), $(OUT)/$(name).html) | 28 HOWTO_HTML = $(foreach name, $(HOWTO), $(OUT)/$(LANG)/docs/$(name).html) |
25 | 29 |
26 REFS_EN = en/docs/ngx_core_module \ | 30 FAQ = \ |
27 en/docs/http/ngx_http_core_module \ | 31 welcome_nginx_facebook \ |
28 en/docs/http/ngx_http_empty_gif_module \ | 32 faq/license_copyright \ |
29 en/docs/http/ngx_http_flv_module \ | 33 faq/accept_failed \ |
30 en/docs/http/ngx_http_index_module \ | 34 faq/variables_in_config \ |
31 en/docs/http/ngx_http_image_filter_module \ | 35 faq/daemon_master_process_off \ |
32 en/docs/http/ngx_http_limit_conn_module \ | 36 faq/chunked_encoding_from_backend \ |
33 en/docs/http/ngx_http_limit_req_module \ | 37 sys_errlist \ |
34 en/docs/http/ngx_http_mp4_module \ | |
35 en/docs/http/ngx_http_random_index_module \ | |
36 | 38 |
37 HOWTO_EN_XML = $(foreach name, $(HOWTO_EN), xml/$(name).xml) | 39 FAQ_XML = $(foreach name, $(FAQ), xml/$(LANG)/docs/$(name).xml) |
38 HOWTO_EN_HTML = $(foreach name, $(HOWTO_EN), $(OUT)/$(name).html) | 40 FAQ_HTML = $(foreach name, $(FAQ), $(OUT)/$(LANG)/docs/$(name).html) |
39 | 41 |
40 FAQ_EN = en/docs/sys_errlist \ | 42 REFS = \ |
41 en/docs/welcome_nginx_facebook \ | 43 ngx_core_module \ |
42 en/docs/faq/accept_failed \ | 44 http/ngx_http_core_module \ |
43 en/docs/faq/daemon_master_process_off \ | 45 http/ngx_http_empty_gif_module \ |
44 en/docs/faq/variables_in_config \ | 46 http/ngx_http_flv_module \ |
45 en/docs/faq/chunked_encoding_from_backend \ | 47 http/ngx_http_image_filter_module \ |
46 en/docs/faq/license_copyright | 48 http/ngx_http_index_module \ |
49 http/ngx_http_limit_conn_module \ | |
50 http/ngx_http_limit_req_module \ | |
51 http/ngx_http_mp4_module \ | |
52 http/ngx_http_random_index_module \ | |
47 | 53 |
48 FAQ_EN_XML = $(foreach name, $(FAQ_EN), xml/$(name).xml) | 54 REFS_XML = $(foreach name, $(REFS), xml/$(LANG)/docs/$(name).xml) |
49 FAQ_EN_HTML = $(foreach name, $(FAQ_EN), $(OUT)/$(name).html) | 55 REFS_HTML = $(foreach name, $(REFS), $(OUT)/$(LANG)/docs/$(name).html) |
50 | 56 |
51 en: \ | 57 $(LANG): \ |
52 $(OUT)/en/index.html \ | 58 $(OUT)/$(LANG)/index.html \ |
53 $(OUT)/en/download.html \ | 59 $(OUT)/$(LANG)/download.html \ |
54 $(OUT)/en/security_advisories.html \ | 60 $(OUT)/$(LANG)/security_advisories.html \ |
55 $(OUT)/en/books.html \ | 61 $(OUT)/$(LANG)/docs/index.html \ |
56 $(OUT)/en/links.html \ | 62 $(DOCS_HTML) \ |
57 $(OUT)/en/support.html \ | 63 $(REFS_HTML) \ |
58 $(OUT)/en/donation.html \ | 64 $(INTRO_HTML) \ |
59 $(OUT)/en/docs/index.html \ | 65 $(HOWTO_HTML) \ |
60 $(DOCS_EN_HTML) \ | 66 $(FAQ_HTML) \ |
61 $(INTRO_EN_HTML) \ | 67 $(OUT)/$(LANG)/links.html \ |
62 $(REFS_EN_HTML) \ | 68 $(OUT)/$(LANG)/books.html \ |
63 $(HOWTO_EN_HTML) \ | 69 $(OUT)/$(LANG)/support.html \ |
64 $(FAQ_EN_HTML) \ | 70 $(OUT)/$(LANG)/donation.html \ |
65 | 71 |
66 $(OUT)/en/docs/index.html: \ | 72 $(OUT)/$(LANG)/download.html: \ |
67 xml/en/docs/index.xml \ | 73 xml/$(LANG)/download.xml \ |
68 $(DOCS_EN_XML) \ | |
69 $(REFS_EN_XML) \ | |
70 $(ARTICLE_DEPS) | |
71 $(call XSLT, xslt/article.xslt, $<, $@) | |
72 | |
73 $(OUT)/en/download.html: \ | |
74 xml/en/download.xml \ | |
75 $(DOWNLOAD_DEPS) | 74 $(DOWNLOAD_DEPS) |
76 $(call XSLT, xslt/download.xslt, $<, $@) | 75 $(call XSLT, xslt/download.xslt, $<, $@) |
77 | 76 |
78 $(OUT)/en/security_advisories.html: \ | 77 $(OUT)/$(LANG)/security_advisories.html: \ |
79 xml/en/security_advisories.xml \ | 78 xml/$(LANG)/security_advisories.xml \ |
80 $(SECURITY_DEPS) | 79 $(SECURITY_DEPS) |
81 $(call XSLT, xslt/security.xslt, $<, $@) | 80 $(call XSLT, xslt/security.xslt, $<, $@) |
82 | 81 |
83 $(OUT)/en/docs/introduction.html: \ | 82 $(OUT)/$(LANG)/docs/index.html: \ |
84 xml/en/docs/introduction.xml \ | 83 $(DOCS_XML) \ |
85 $(INTRO_EN_XML) \ | 84 $(REFS_XML) \ |
86 $(ARTICLE_DEPS) | |
87 $(call XSLT, xslt/article.xslt, $<, $@) | |
88 | 85 |
89 $(OUT)/en/docs/howto.html: \ | 86 $(OUT)/$(LANG)/docs/introduction.html: \ |
90 xml/en/docs/howto.xml \ | 87 $(INTRO_XML) \ |
91 $(HOWTO_EN_XML) \ | |
92 $(ARTICLE_DEPS) | |
93 $(call XSLT, xslt/article.xslt, $<, $@) | |
94 | 88 |
95 $(OUT)/en/docs/faq.html: \ | 89 $(OUT)/$(LANG)/docs/howto.html: \ |
96 xml/en/docs/faq.xml \ | 90 $(HOWTO_XML) \ |
97 $(FAQ_EN_XML) \ | |
98 $(ARTICLE_DEPS) | |
99 $(call XSLT, xslt/article.xslt, $<, $@) | |
100 | 91 |
101 $(OUT)/en/books.html: \ | 92 $(OUT)/$(LANG)/docs/faq.html: \ |
102 xml/en/books.xml \ | 93 $(FAQ_XML) \ |
94 | |
95 $(OUT)/$(LANG)/books.html: \ | |
96 xml/$(LANG)/books.xml \ | |
103 $(BOOK_DEPS) | 97 $(BOOK_DEPS) |
104 $(call XSLT, xslt/books.xslt, $<, $@) | 98 $(call XSLT, xslt/books.xslt, $<, $@) |