annotate xml/ru/GNUmakefile @ 423:04ad7c1b1b04

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