annotate xml/ru/GNUmakefile @ 606:cb43695220b2

o Move introduction/ and howto/ are rather small so move those sections into docs/. o Rename "nginx: faq" article and its lang-specific variations to "FAQ".
author Maxim Konovalov <maxim@nginx.com>
date Tue, 24 Jul 2012 10:18:38 +0000
parents 32dd85720515
children a235ce0f8eef
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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 \
cb43695220b2 o Move introduction/ and howto/ are rather small so move those
Maxim Konovalov <maxim@nginx.com>
parents: 547
diff changeset
15 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
16 debugging_log \
212
18217133791f Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents: 179
diff changeset
17
218
6fed92e2bcea Renamed LANG to DOC_LANG (the former interacts badly with locale).
Ruslan Ermilov <ru@nginx.com>
parents: 214
diff changeset
18 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
19 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
20
18217133791f Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents: 179
diff changeset
21 FAQ = \
18217133791f Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents: 179
diff changeset
22 sys_errlist \
18217133791f Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents: 179
diff changeset
23
218
6fed92e2bcea Renamed LANG to DOC_LANG (the former interacts badly with locale).
Ruslan Ermilov <ru@nginx.com>
parents: 214
diff changeset
24 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
25 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
26
212
18217133791f Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents: 179
diff changeset
27 REFS = \
18217133791f Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents: 179
diff changeset
28 ngx_core_module \
18217133791f Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents: 179
diff changeset
29 http/ngx_http_access_module \
18217133791f Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents: 179
diff changeset
30 http/ngx_http_addition_module \
18217133791f Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents: 179
diff changeset
31 http/ngx_http_auth_basic_module \
18217133791f Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents: 179
diff changeset
32 http/ngx_http_autoindex_module \
18217133791f Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents: 179
diff changeset
33 http/ngx_http_browser_module \
18217133791f Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents: 179
diff changeset
34 http/ngx_http_charset_module \
18217133791f Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents: 179
diff changeset
35 http/ngx_http_core_module \
18217133791f Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents: 179
diff changeset
36 http/ngx_http_dav_module \
18217133791f Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents: 179
diff changeset
37 http/ngx_http_empty_gif_module \
18217133791f Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents: 179
diff changeset
38 http/ngx_http_fastcgi_module \
18217133791f Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents: 179
diff changeset
39 http/ngx_http_flv_module \
18217133791f Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents: 179
diff changeset
40 http/ngx_http_geo_module \
18217133791f Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents: 179
diff changeset
41 http/ngx_http_geoip_module \
18217133791f Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents: 179
diff changeset
42 http/ngx_http_gzip_module \
18217133791f Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents: 179
diff changeset
43 http/ngx_http_gzip_static_module \
18217133791f Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents: 179
diff changeset
44 http/ngx_http_headers_module \
18217133791f Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents: 179
diff changeset
45 http/ngx_http_image_filter_module \
18217133791f Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents: 179
diff changeset
46 http/ngx_http_index_module \
18217133791f Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents: 179
diff changeset
47 http/ngx_http_limit_conn_module \
18217133791f Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents: 179
diff changeset
48 http/ngx_http_limit_req_module \
18217133791f Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents: 179
diff changeset
49 http/ngx_http_limit_zone_module \
18217133791f Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents: 179
diff changeset
50 http/ngx_http_log_module \
18217133791f Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents: 179
diff changeset
51 http/ngx_http_map_module \
18217133791f Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents: 179
diff changeset
52 http/ngx_http_memcached_module \
18217133791f Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents: 179
diff changeset
53 http/ngx_http_mp4_module \
18217133791f Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents: 179
diff changeset
54 http/ngx_http_perl_module \
18217133791f Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents: 179
diff changeset
55 http/ngx_http_proxy_module \
18217133791f Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents: 179
diff changeset
56 http/ngx_http_random_index_module \
18217133791f Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents: 179
diff changeset
57 http/ngx_http_realip_module \
18217133791f Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents: 179
diff changeset
58 http/ngx_http_referer_module \
18217133791f Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents: 179
diff changeset
59 http/ngx_http_rewrite_module \
18217133791f Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents: 179
diff changeset
60 http/ngx_http_secure_link_module \
18217133791f Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents: 179
diff changeset
61 http/ngx_http_split_clients_module \
18217133791f Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents: 179
diff changeset
62 http/ngx_http_ssi_module \
18217133791f Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents: 179
diff changeset
63 http/ngx_http_ssl_module \
18217133791f Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents: 179
diff changeset
64 http/ngx_http_sub_module \
18217133791f Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents: 179
diff changeset
65 http/ngx_http_upstream_module \
18217133791f Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents: 179
diff changeset
66 http/ngx_http_userid_module \
18217133791f Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents: 179
diff changeset
67 http/ngx_http_xslt_module \
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
68
218
6fed92e2bcea Renamed LANG to DOC_LANG (the former interacts badly with locale).
Ruslan Ermilov <ru@nginx.com>
parents: 214
diff changeset
69 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
70 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
71
218
6fed92e2bcea Renamed LANG to DOC_LANG (the former interacts badly with locale).
Ruslan Ermilov <ru@nginx.com>
parents: 214
diff changeset
72 $(DOC_LANG): \
6fed92e2bcea Renamed LANG to DOC_LANG (the former interacts badly with locale).
Ruslan Ermilov <ru@nginx.com>
parents: 214
diff changeset
73 $(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
74 $(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
75 $(OUT)/$(DOC_LANG)/support.html \
6fed92e2bcea Renamed LANG to DOC_LANG (the former interacts badly with locale).
Ruslan Ermilov <ru@nginx.com>
parents: 214
diff changeset
76 $(OUT)/$(DOC_LANG)/docs/index.html \
212
18217133791f Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents: 179
diff changeset
77 $(DOCS_HTML) \
18217133791f Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents: 179
diff changeset
78 $(REFS_HTML) \
522
ef11546f75ee Translated "request_processing" into Russian, removed "virtual_hosts"
Ruslan Ermilov <ru@nginx.com>
parents: 423
diff changeset
79 $(INTRO_HTML) \
214
c99c8df86eb9 Translated the "Debugging Log" article into Russian.
Ruslan Ermilov <ru@nginx.com>
parents: 212
diff changeset
80 $(HOWTO_HTML) \
212
18217133791f Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents: 179
diff changeset
81 $(FAQ_HTML) \
18217133791f Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents: 179
diff changeset
82
218
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 xml/$(DOC_LANG)/download.xml \
30
8ed43632a28c Fixing dependencies of included XSLT files.
Igor Sysoev <igor@sysoev.ru>
parents: 0
diff changeset
85 $(DOWNLOAD_DEPS)
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
86 $(call XSLT, xslt/download.xslt, $<, $@)
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
87
248
c9349a06b234 Added missing dependency.
Ruslan Ermilov <ru@nginx.com>
parents: 218
diff changeset
88 $(OUT)/$(DOC_LANG)/docs/index.html: \
c9349a06b234 Added missing dependency.
Ruslan Ermilov <ru@nginx.com>
parents: 218
diff changeset
89 $(DOCS_XML) \
c9349a06b234 Added missing dependency.
Ruslan Ermilov <ru@nginx.com>
parents: 218
diff changeset
90 $(REFS_XML) \
c9349a06b234 Added missing dependency.
Ruslan Ermilov <ru@nginx.com>
parents: 218
diff changeset
91
423
04ad7c1b1b04 Alphabetical index of directives.
Ruslan Ermilov <ru@nginx.com>
parents: 248
diff changeset
92 xml/$(DOC_LANG)/docs/dirindex.xml: \
04ad7c1b1b04 Alphabetical index of directives.
Ruslan Ermilov <ru@nginx.com>
parents: 248
diff changeset
93 $(REFS_XML) \
04ad7c1b1b04 Alphabetical index of directives.
Ruslan Ermilov <ru@nginx.com>
parents: 248
diff changeset
94 xslt/dirindex.xslt
04ad7c1b1b04 Alphabetical index of directives.
Ruslan Ermilov <ru@nginx.com>
parents: 248
diff changeset
95 echo "<modules>$(patsubst %, \
04ad7c1b1b04 Alphabetical index of directives.
Ruslan Ermilov <ru@nginx.com>
parents: 248
diff changeset
96 <module name=\"%\"/>, $(filter %.xml,$^))</modules>" | \
04ad7c1b1b04 Alphabetical index of directives.
Ruslan Ermilov <ru@nginx.com>
parents: 248
diff changeset
97 xsltproc -o - \
04ad7c1b1b04 Alphabetical index of directives.
Ruslan Ermilov <ru@nginx.com>
parents: 248
diff changeset
98 --stringparam LANG $(patsubst xml/%/docs/dirindex.xml,%,$@) \
04ad7c1b1b04 Alphabetical index of directives.
Ruslan Ermilov <ru@nginx.com>
parents: 248
diff changeset
99 xslt/dirindex.xslt - | \
04ad7c1b1b04 Alphabetical index of directives.
Ruslan Ermilov <ru@nginx.com>
parents: 248
diff changeset
100 sed 's;xml/[^/]*/docs/;;g' > $@
04ad7c1b1b04 Alphabetical index of directives.
Ruslan Ermilov <ru@nginx.com>
parents: 248
diff changeset
101
218
6fed92e2bcea Renamed LANG to DOC_LANG (the former interacts badly with locale).
Ruslan Ermilov <ru@nginx.com>
parents: 214
diff changeset
102 $(OUT)/$(DOC_LANG)/docs/faq.html: \
212
18217133791f Unified makefiles so they are diff'able.
Ruslan Ermilov <ru@nginx.com>
parents: 179
diff changeset
103 $(FAQ_XML) \