Mercurial > hg > nginx-site
annotate xml/cn/GNUmakefile @ 733:7f8e85a50845
Renamed OX X to Mac OS X for uniformity.
author | Sergey Budnevitch <sb@waeme.net> |
---|---|
date | Tue, 16 Oct 2012 12:55:23 +0000 |
parents | 9934338f83af |
children | 99ea52dbb4d4 |
rev | line source |
---|---|
558
149f54c158f0
Added initial translation in simplified Chinese submitted by the
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
1 DOC_LANG = cn |
149f54c158f0
Added initial translation in simplified Chinese submitted by the
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
2 |
149f54c158f0
Added initial translation in simplified Chinese submitted by the
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
3 DOCS = \ |
149f54c158f0
Added initial translation in simplified Chinese submitted by the
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
4 faq \ |
149f54c158f0
Added initial translation in simplified Chinese submitted by the
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
5 windows \ |
720
9934338f83af
Updated the Chinese documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
718
diff
changeset
|
6 syntax \ |
9934338f83af
Updated the Chinese documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
718
diff
changeset
|
7 dirindex \ |
606
cb43695220b2
o Move introduction/ and howto/ are rather small so move those
Maxim Konovalov <maxim@nginx.com>
parents:
558
diff
changeset
|
8 http/request_processing \ |
cb43695220b2
o Move introduction/ and howto/ are rather small so move those
Maxim Konovalov <maxim@nginx.com>
parents:
558
diff
changeset
|
9 http/server_names \ |
cb43695220b2
o Move introduction/ and howto/ are rather small so move those
Maxim Konovalov <maxim@nginx.com>
parents:
558
diff
changeset
|
10 http/configuring_https_servers \ |
cb43695220b2
o Move introduction/ and howto/ are rather small so move those
Maxim Konovalov <maxim@nginx.com>
parents:
558
diff
changeset
|
11 debugging_log \ |
cb43695220b2
o Move introduction/ and howto/ are rather small so move those
Maxim Konovalov <maxim@nginx.com>
parents:
558
diff
changeset
|
12 http/converting_rewrite_rules \ |
558
149f54c158f0
Added initial translation in simplified Chinese submitted by the
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
13 |
149f54c158f0
Added initial translation in simplified Chinese submitted by the
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
14 DOCS_XML = $(foreach name, $(DOCS), xml/$(DOC_LANG)/docs/$(name).xml) |
149f54c158f0
Added initial translation in simplified Chinese submitted by the
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
15 DOCS_HTML = $(foreach name, $(DOCS), $(OUT)/$(DOC_LANG)/docs/$(name).html) |
149f54c158f0
Added initial translation in simplified Chinese submitted by the
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
16 |
149f54c158f0
Added initial translation in simplified Chinese submitted by the
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
17 FAQ = \ |
149f54c158f0
Added initial translation in simplified Chinese submitted by the
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
18 welcome_nginx_facebook \ |
149f54c158f0
Added initial translation in simplified Chinese submitted by the
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
19 sys_errlist \ |
149f54c158f0
Added initial translation in simplified Chinese submitted by the
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
20 |
149f54c158f0
Added initial translation in simplified Chinese submitted by the
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
21 FAQ_XML = $(foreach name, $(FAQ), xml/$(DOC_LANG)/docs/$(name).xml) |
149f54c158f0
Added initial translation in simplified Chinese submitted by the
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
22 FAQ_HTML = $(foreach name, $(FAQ), $(OUT)/$(DOC_LANG)/docs/$(name).html) |
149f54c158f0
Added initial translation in simplified Chinese submitted by the
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
23 |
720
9934338f83af
Updated the Chinese documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
718
diff
changeset
|
24 REFS = \ |
9934338f83af
Updated the Chinese documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
718
diff
changeset
|
25 http/ngx_http_access_module \ |
9934338f83af
Updated the Chinese documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
718
diff
changeset
|
26 http/ngx_http_addition_module \ |
9934338f83af
Updated the Chinese documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
718
diff
changeset
|
27 http/ngx_http_auth_basic_module \ |
9934338f83af
Updated the Chinese documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
718
diff
changeset
|
28 http/ngx_http_autoindex_module \ |
9934338f83af
Updated the Chinese documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
718
diff
changeset
|
29 http/ngx_http_browser_module \ |
9934338f83af
Updated the Chinese documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
718
diff
changeset
|
30 http/ngx_http_gzip_static_module \ |
9934338f83af
Updated the Chinese documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
718
diff
changeset
|
31 http/ngx_http_index_module \ |
9934338f83af
Updated the Chinese documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
718
diff
changeset
|
32 http/ngx_http_limit_conn_module \ |
9934338f83af
Updated the Chinese documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
718
diff
changeset
|
33 |
9934338f83af
Updated the Chinese documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
718
diff
changeset
|
34 REFS_XML = $(foreach name, $(REFS), xml/$(DOC_LANG)/docs/$(name).xml) |
9934338f83af
Updated the Chinese documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
718
diff
changeset
|
35 REFS_HTML = $(foreach name, $(REFS), $(OUT)/$(DOC_LANG)/docs/$(name).html) |
9934338f83af
Updated the Chinese documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
718
diff
changeset
|
36 |
558
149f54c158f0
Added initial translation in simplified Chinese submitted by the
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
37 $(DOC_LANG): \ |
149f54c158f0
Added initial translation in simplified Chinese submitted by the
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
38 $(OUT)/$(DOC_LANG)/index.html \ |
149f54c158f0
Added initial translation in simplified Chinese submitted by the
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
39 $(OUT)/$(DOC_LANG)/docs/index.html \ |
149f54c158f0
Added initial translation in simplified Chinese submitted by the
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
40 $(DOCS_HTML) \ |
720
9934338f83af
Updated the Chinese documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
718
diff
changeset
|
41 $(REFS_HTML) \ |
558
149f54c158f0
Added initial translation in simplified Chinese submitted by the
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
42 $(FAQ_HTML) \ |
149f54c158f0
Added initial translation in simplified Chinese submitted by the
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
43 |
149f54c158f0
Added initial translation in simplified Chinese submitted by the
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
44 $(OUT)/$(DOC_LANG)/docs/index.html: \ |
149f54c158f0
Added initial translation in simplified Chinese submitted by the
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
45 $(DOCS_XML) \ |
720
9934338f83af
Updated the Chinese documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
718
diff
changeset
|
46 $(REFS_XML) \ |
9934338f83af
Updated the Chinese documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
718
diff
changeset
|
47 |
9934338f83af
Updated the Chinese documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
718
diff
changeset
|
48 xml/$(DOC_LANG)/docs/dirindex.xml: \ |
9934338f83af
Updated the Chinese documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
718
diff
changeset
|
49 $(REFS_XML) \ |
9934338f83af
Updated the Chinese documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
718
diff
changeset
|
50 xslt/dirindex.xslt |
9934338f83af
Updated the Chinese documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
718
diff
changeset
|
51 echo "<modules>$(patsubst %, \ |
9934338f83af
Updated the Chinese documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
718
diff
changeset
|
52 <module name=\"%\"/>, $(filter %.xml,$^))</modules>" | \ |
9934338f83af
Updated the Chinese documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
718
diff
changeset
|
53 xsltproc -o - \ |
9934338f83af
Updated the Chinese documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
718
diff
changeset
|
54 --stringparam LANG $(patsubst xml/%/docs/dirindex.xml,%,$@) \ |
9934338f83af
Updated the Chinese documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
718
diff
changeset
|
55 xslt/dirindex.xslt - | \ |
9934338f83af
Updated the Chinese documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
718
diff
changeset
|
56 sed 's;xml/[^/]*/docs/;;g' > $@ |
558
149f54c158f0
Added initial translation in simplified Chinese submitted by the
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
57 |
149f54c158f0
Added initial translation in simplified Chinese submitted by the
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
58 $(OUT)/$(DOC_LANG)/docs/faq.html: \ |
149f54c158f0
Added initial translation in simplified Chinese submitted by the
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
59 $(FAQ_XML) \ |