Mercurial > hg > nginx-site
annotate xml/ru/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 | 6a37df6078a1 |
children | 99ea52dbb4d4 |
rev | line source |
---|---|
218
6fed92e2bcea
Renamed LANG to DOC_LANG (the former interacts badly with locale).
Ruslan Ermilov <ru@nginx.com>
parents:
214
diff
changeset
|
1 DOC_LANG = ru |
0
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
2 |
212
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
3 DOCS = \ |
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
4 faq \ |
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
5 install \ |
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
6 windows \ |
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
7 events \ |
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
8 syntax \ |
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
9 example \ |
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
10 switches \ |
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
11 control \ |
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
12 hash \ |
423
04ad7c1b1b04
Alphabetical index of directives.
Ruslan Ermilov <ru@nginx.com>
parents:
248
diff
changeset
|
13 dirindex \ |
606
cb43695220b2
o Move introduction/ and howto/ are rather small so move those
Maxim Konovalov <maxim@nginx.com>
parents:
547
diff
changeset
|
14 http/request_processing \ |
647
00972444baa7
Fixed tab indentation and replaced hyphen with proper space and dash.
Vladimir Homutov <vl@nginx.com>
parents:
645
diff
changeset
|
15 http/server_names \ |
606
cb43695220b2
o Move introduction/ and howto/ are rather small so move those
Maxim Konovalov <maxim@nginx.com>
parents:
547
diff
changeset
|
16 http/configuring_https_servers \ |
cb43695220b2
o Move introduction/ and howto/ are rather small so move those
Maxim Konovalov <maxim@nginx.com>
parents:
547
diff
changeset
|
17 debugging_log \ |
212
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
18 |
218
6fed92e2bcea
Renamed LANG to DOC_LANG (the former interacts badly with locale).
Ruslan Ermilov <ru@nginx.com>
parents:
214
diff
changeset
|
19 DOCS_XML = $(foreach name, $(DOCS), xml/$(DOC_LANG)/docs/$(name).xml) |
6fed92e2bcea
Renamed LANG to DOC_LANG (the former interacts badly with locale).
Ruslan Ermilov <ru@nginx.com>
parents:
214
diff
changeset
|
20 DOCS_HTML = $(foreach name, $(DOCS), $(OUT)/$(DOC_LANG)/docs/$(name).html) |
212
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
21 |
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
22 FAQ = \ |
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
23 sys_errlist \ |
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
24 |
218
6fed92e2bcea
Renamed LANG to DOC_LANG (the former interacts badly with locale).
Ruslan Ermilov <ru@nginx.com>
parents:
214
diff
changeset
|
25 FAQ_XML = $(foreach name, $(FAQ), xml/$(DOC_LANG)/docs/$(name).xml) |
6fed92e2bcea
Renamed LANG to DOC_LANG (the former interacts badly with locale).
Ruslan Ermilov <ru@nginx.com>
parents:
214
diff
changeset
|
26 FAQ_HTML = $(foreach name, $(FAQ), $(OUT)/$(DOC_LANG)/docs/$(name).html) |
0
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
27 |
212
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
28 REFS = \ |
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
29 ngx_core_module \ |
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
30 http/ngx_http_access_module \ |
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
31 http/ngx_http_addition_module \ |
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
32 http/ngx_http_auth_basic_module \ |
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
33 http/ngx_http_autoindex_module \ |
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
34 http/ngx_http_browser_module \ |
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
35 http/ngx_http_charset_module \ |
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
36 http/ngx_http_core_module \ |
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
37 http/ngx_http_dav_module \ |
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
38 http/ngx_http_empty_gif_module \ |
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
39 http/ngx_http_fastcgi_module \ |
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
40 http/ngx_http_flv_module \ |
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
41 http/ngx_http_geo_module \ |
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
42 http/ngx_http_geoip_module \ |
675
08140f6b7964
Documented gunzip module and corresponding changes.
Vladimir Homutov <vl@nginx.com>
parents:
647
diff
changeset
|
43 http/ngx_http_gunzip_module \ |
212
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
44 http/ngx_http_gzip_module \ |
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
45 http/ngx_http_gzip_static_module \ |
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
46 http/ngx_http_headers_module \ |
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
47 http/ngx_http_image_filter_module \ |
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
48 http/ngx_http_index_module \ |
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
49 http/ngx_http_limit_conn_module \ |
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
50 http/ngx_http_limit_req_module \ |
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
51 http/ngx_http_limit_zone_module \ |
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
52 http/ngx_http_log_module \ |
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
53 http/ngx_http_map_module \ |
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
54 http/ngx_http_memcached_module \ |
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
55 http/ngx_http_mp4_module \ |
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
56 http/ngx_http_perl_module \ |
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
57 http/ngx_http_proxy_module \ |
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
58 http/ngx_http_random_index_module \ |
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
59 http/ngx_http_realip_module \ |
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
60 http/ngx_http_referer_module \ |
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
61 http/ngx_http_rewrite_module \ |
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
62 http/ngx_http_secure_link_module \ |
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
63 http/ngx_http_split_clients_module \ |
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
64 http/ngx_http_ssi_module \ |
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
65 http/ngx_http_ssl_module \ |
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
66 http/ngx_http_sub_module \ |
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
67 http/ngx_http_upstream_module \ |
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
68 http/ngx_http_userid_module \ |
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
69 http/ngx_http_xslt_module \ |
637
9a85069172dc
IMAP/POP3/SMTP directives split into their own modules.
Ruslan Ermilov <ru@nginx.com>
parents:
630
diff
changeset
|
70 mail/ngx_mail_auth_http_module \ |
630
a235ce0f8eef
Initial mail proxy server documentation in Russian.
Ruslan Ermilov <ru@nginx.com>
parents:
606
diff
changeset
|
71 mail/ngx_mail_core_module \ |
637
9a85069172dc
IMAP/POP3/SMTP directives split into their own modules.
Ruslan Ermilov <ru@nginx.com>
parents:
630
diff
changeset
|
72 mail/ngx_mail_imap_module \ |
9a85069172dc
IMAP/POP3/SMTP directives split into their own modules.
Ruslan Ermilov <ru@nginx.com>
parents:
630
diff
changeset
|
73 mail/ngx_mail_pop3_module \ |
630
a235ce0f8eef
Initial mail proxy server documentation in Russian.
Ruslan Ermilov <ru@nginx.com>
parents:
606
diff
changeset
|
74 mail/ngx_mail_proxy_module \ |
637
9a85069172dc
IMAP/POP3/SMTP directives split into their own modules.
Ruslan Ermilov <ru@nginx.com>
parents:
630
diff
changeset
|
75 mail/ngx_mail_smtp_module \ |
630
a235ce0f8eef
Initial mail proxy server documentation in Russian.
Ruslan Ermilov <ru@nginx.com>
parents:
606
diff
changeset
|
76 mail/ngx_mail_ssl_module \ |
0
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
77 |
218
6fed92e2bcea
Renamed LANG to DOC_LANG (the former interacts badly with locale).
Ruslan Ermilov <ru@nginx.com>
parents:
214
diff
changeset
|
78 REFS_XML = $(foreach name, $(REFS), xml/$(DOC_LANG)/docs/$(name).xml) |
6fed92e2bcea
Renamed LANG to DOC_LANG (the former interacts badly with locale).
Ruslan Ermilov <ru@nginx.com>
parents:
214
diff
changeset
|
79 REFS_HTML = $(foreach name, $(REFS), $(OUT)/$(DOC_LANG)/docs/$(name).html) |
0
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
80 |
218
6fed92e2bcea
Renamed LANG to DOC_LANG (the former interacts badly with locale).
Ruslan Ermilov <ru@nginx.com>
parents:
214
diff
changeset
|
81 $(DOC_LANG): \ |
6fed92e2bcea
Renamed LANG to DOC_LANG (the former interacts badly with locale).
Ruslan Ermilov <ru@nginx.com>
parents:
214
diff
changeset
|
82 $(OUT)/$(DOC_LANG)/index.html \ |
6fed92e2bcea
Renamed LANG to DOC_LANG (the former interacts badly with locale).
Ruslan Ermilov <ru@nginx.com>
parents:
214
diff
changeset
|
83 $(OUT)/$(DOC_LANG)/download.html \ |
6fed92e2bcea
Renamed LANG to DOC_LANG (the former interacts badly with locale).
Ruslan Ermilov <ru@nginx.com>
parents:
214
diff
changeset
|
84 $(OUT)/$(DOC_LANG)/docs/index.html \ |
212
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
85 $(DOCS_HTML) \ |
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
86 $(REFS_HTML) \ |
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
87 $(FAQ_HTML) \ |
719
6a37df6078a1
Minimized diffs between different languages makefiles.
Ruslan Ermilov <ru@nginx.com>
parents:
718
diff
changeset
|
88 $(OUT)/$(DOC_LANG)/support.html \ |
212
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
89 |
248 | 90 $(OUT)/$(DOC_LANG)/docs/index.html: \ |
91 $(DOCS_XML) \ | |
92 $(REFS_XML) \ | |
93 | |
423
04ad7c1b1b04
Alphabetical index of directives.
Ruslan Ermilov <ru@nginx.com>
parents:
248
diff
changeset
|
94 xml/$(DOC_LANG)/docs/dirindex.xml: \ |
04ad7c1b1b04
Alphabetical index of directives.
Ruslan Ermilov <ru@nginx.com>
parents:
248
diff
changeset
|
95 $(REFS_XML) \ |
04ad7c1b1b04
Alphabetical index of directives.
Ruslan Ermilov <ru@nginx.com>
parents:
248
diff
changeset
|
96 xslt/dirindex.xslt |
04ad7c1b1b04
Alphabetical index of directives.
Ruslan Ermilov <ru@nginx.com>
parents:
248
diff
changeset
|
97 echo "<modules>$(patsubst %, \ |
04ad7c1b1b04
Alphabetical index of directives.
Ruslan Ermilov <ru@nginx.com>
parents:
248
diff
changeset
|
98 <module name=\"%\"/>, $(filter %.xml,$^))</modules>" | \ |
04ad7c1b1b04
Alphabetical index of directives.
Ruslan Ermilov <ru@nginx.com>
parents:
248
diff
changeset
|
99 xsltproc -o - \ |
04ad7c1b1b04
Alphabetical index of directives.
Ruslan Ermilov <ru@nginx.com>
parents:
248
diff
changeset
|
100 --stringparam LANG $(patsubst xml/%/docs/dirindex.xml,%,$@) \ |
04ad7c1b1b04
Alphabetical index of directives.
Ruslan Ermilov <ru@nginx.com>
parents:
248
diff
changeset
|
101 xslt/dirindex.xslt - | \ |
04ad7c1b1b04
Alphabetical index of directives.
Ruslan Ermilov <ru@nginx.com>
parents:
248
diff
changeset
|
102 sed 's;xml/[^/]*/docs/;;g' > $@ |
04ad7c1b1b04
Alphabetical index of directives.
Ruslan Ermilov <ru@nginx.com>
parents:
248
diff
changeset
|
103 |
218
6fed92e2bcea
Renamed LANG to DOC_LANG (the former interacts badly with locale).
Ruslan Ermilov <ru@nginx.com>
parents:
214
diff
changeset
|
104 $(OUT)/$(DOC_LANG)/docs/faq.html: \ |
212
18217133791f
Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents:
179
diff
changeset
|
105 $(FAQ_XML) \ |