annotate xml/tr/GNUmakefile @ 76:4a4caa566120

Russian documentation import. Changes in module.dtd: <example> now allowed to contain <value> and <emphasis> elements (we need this to show important parts in examples), less strict checking of <directive> syntax (we don't want to fully document some directives, notably deprecated ones). Known issues: 1. <syntax> elements are preserved as is, they will require manual conversion (likely to some not-yet-existed format a la DocBook cmdsynopsis, as currently used one seems to be incomplete); 2. <value> no longer corresponds to replaceable content, and it's use in examples isn't correct; 3. <link doc="document#fragment"> doesn't work with current xslt, either should be supported or changed to <link doc="document" id="fragment">. The following files are intentionally omitted: maillists.xml (support.xml should be used instead), experimental.xml (obsolete), faq.xml (conflicts with existing one, needs discussion). Not yet linked to site.
author Maxim Dounin <mdounin@mdounin.ru>
date Tue, 11 Oct 2011 12:57:50 +0000
parents 8ed43632a28c
children 18217133791f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
1
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
2 DOCS_TR = tr/docs/windows \
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
3 tr/docs/introduction \
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
4 tr/docs/howto \
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
5 tr/docs/faq \
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
6
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
7 DOCS_TR_XML = $(foreach name, $(DOCS_TR), xml/$(name).xml)
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
8 DOCS_TR_HTML = $(foreach name, $(DOCS_TR), $(OUT)/$(name).html)
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
9
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
10 INTRO_TR = tr/docs/http/request_processing \
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
11 tr/docs/http/configuring_https_servers \
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
12 tr/docs/http/server_names \
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
13
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
14 INTRO_TR_XML = $(foreach name, $(INTRO_TR), xml/$(name).xml)
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
15 INTRO_TR_HTML = $(foreach name, $(INTRO_TR), $(OUT)/$(name).html)
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
16
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
17 HOWTO_TR = tr/docs/debugging_log \
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
18 tr/docs/http/converting_rewrite_rules \
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
19
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
20 HOWTO_TR_XML = $(foreach name, $(HOWTO_TR), xml/$(name).xml)
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
21 HOWTO_TR_HTML = $(foreach name, $(HOWTO_TR), $(OUT)/$(name).html)
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
22
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
23 FAQ_TR = tr/docs/sys_errlist \
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
24
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
25 FAQ_TR_XML = $(foreach name, $(FAQ_TR), xml/$(name).xml)
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
26 FAQ_TR_HTML = $(foreach name, $(FAQ_TR), $(OUT)/$(name).html)
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
27
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
28 tr: \
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
29 $(OUT)/tr/index.html \
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
30 $(OUT)/tr/docs/index.html \
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
31 $(DOCS_TR_HTML) \
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
32 $(INTRO_TR_HTML) \
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
33 $(HOWTO_TR_HTML) \
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
34 $(FAQ_TR_HTML) \
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
35
30
8ed43632a28c Fixing dependencies of included XSLT files.
Igor Sysoev <igor@sysoev.ru>
parents: 0
diff changeset
36 $(OUT)/tr/docs/introduction.html: \
8ed43632a28c Fixing dependencies of included XSLT files.
Igor Sysoev <igor@sysoev.ru>
parents: 0
diff changeset
37 xml/tr/docs/introduction.xml \
8ed43632a28c Fixing dependencies of included XSLT files.
Igor Sysoev <igor@sysoev.ru>
parents: 0
diff changeset
38 $(INTRO_TR_XML) \
8ed43632a28c Fixing dependencies of included XSLT files.
Igor Sysoev <igor@sysoev.ru>
parents: 0
diff changeset
39 $(ARTICLE_DEPS)
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
40 $(call XSLT, xslt/article.xslt, $<, $@)
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
41
30
8ed43632a28c Fixing dependencies of included XSLT files.
Igor Sysoev <igor@sysoev.ru>
parents: 0
diff changeset
42 $(OUT)/tr/docs/howto.html: \
8ed43632a28c Fixing dependencies of included XSLT files.
Igor Sysoev <igor@sysoev.ru>
parents: 0
diff changeset
43 xml/tr/docs/howto.xml \
8ed43632a28c Fixing dependencies of included XSLT files.
Igor Sysoev <igor@sysoev.ru>
parents: 0
diff changeset
44 $(HOWTO_TR_XML) \
8ed43632a28c Fixing dependencies of included XSLT files.
Igor Sysoev <igor@sysoev.ru>
parents: 0
diff changeset
45 $(ARTICLE_DEPS)
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
46 $(call XSLT, xslt/article.xslt, $<, $@)
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
47
30
8ed43632a28c Fixing dependencies of included XSLT files.
Igor Sysoev <igor@sysoev.ru>
parents: 0
diff changeset
48 $(OUT)/tr/docs/faq.html: \
8ed43632a28c Fixing dependencies of included XSLT files.
Igor Sysoev <igor@sysoev.ru>
parents: 0
diff changeset
49 xml/tr/docs/faq.xml \
8ed43632a28c Fixing dependencies of included XSLT files.
Igor Sysoev <igor@sysoev.ru>
parents: 0
diff changeset
50 $(FAQ_TR_XML) \
8ed43632a28c Fixing dependencies of included XSLT files.
Igor Sysoev <igor@sysoev.ru>
parents: 0
diff changeset
51 $(ARTICLE_DEPS)
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
52 $(call XSLT, xslt/article.xslt, $<, $@)