Mercurial > hg > nginx-site
comparison 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 |
comparison
equal
deleted
inserted
replaced
605:bfdc7833085a | 606:cb43695220b2 |
---|---|
1 DOC_LANG = ru | 1 DOC_LANG = ru |
2 | 2 |
3 DOCS = \ | 3 DOCS = \ |
4 introduction \ | |
5 howto \ | |
6 faq \ | 4 faq \ |
7 install \ | 5 install \ |
8 windows \ | 6 windows \ |
9 events \ | 7 events \ |
10 syntax \ | 8 syntax \ |
11 example \ | 9 example \ |
12 switches \ | 10 switches \ |
13 control \ | 11 control \ |
14 hash \ | 12 hash \ |
15 dirindex \ | 13 dirindex \ |
14 http/request_processing \ | |
15 http/configuring_https_servers \ | |
16 debugging_log \ | |
16 | 17 |
17 DOCS_XML = $(foreach name, $(DOCS), xml/$(DOC_LANG)/docs/$(name).xml) | 18 DOCS_XML = $(foreach name, $(DOCS), xml/$(DOC_LANG)/docs/$(name).xml) |
18 DOCS_HTML = $(foreach name, $(DOCS), $(OUT)/$(DOC_LANG)/docs/$(name).html) | 19 DOCS_HTML = $(foreach name, $(DOCS), $(OUT)/$(DOC_LANG)/docs/$(name).html) |
19 | |
20 INTRO = \ | |
21 http/request_processing \ | |
22 http/configuring_https_servers \ | |
23 | |
24 INTRO_XML = $(foreach name, $(INTRO), xml/$(DOC_LANG)/docs/$(name).xml) | |
25 INTRO_HTML = $(foreach name, $(INTRO), $(OUT)/$(DOC_LANG)/docs/$(name).html) | |
26 | |
27 HOWTO = \ | |
28 debugging_log \ | |
29 | |
30 HOWTO_XML = $(foreach name, $(HOWTO), xml/$(DOC_LANG)/docs/$(name).xml) | |
31 HOWTO_HTML = $(foreach name, $(HOWTO), $(OUT)/$(DOC_LANG)/docs/$(name).html) | |
32 | 20 |
33 FAQ = \ | 21 FAQ = \ |
34 sys_errlist \ | 22 sys_errlist \ |
35 | 23 |
36 FAQ_XML = $(foreach name, $(FAQ), xml/$(DOC_LANG)/docs/$(name).xml) | 24 FAQ_XML = $(foreach name, $(FAQ), xml/$(DOC_LANG)/docs/$(name).xml) |
109 xsltproc -o - \ | 97 xsltproc -o - \ |
110 --stringparam LANG $(patsubst xml/%/docs/dirindex.xml,%,$@) \ | 98 --stringparam LANG $(patsubst xml/%/docs/dirindex.xml,%,$@) \ |
111 xslt/dirindex.xslt - | \ | 99 xslt/dirindex.xslt - | \ |
112 sed 's;xml/[^/]*/docs/;;g' > $@ | 100 sed 's;xml/[^/]*/docs/;;g' > $@ |
113 | 101 |
114 $(OUT)/$(DOC_LANG)/docs/introduction.html: \ | |
115 $(INTRO_XML) \ | |
116 | |
117 $(OUT)/$(DOC_LANG)/docs/howto.html: \ | |
118 $(HOWTO_XML) \ | |
119 | |
120 $(OUT)/$(DOC_LANG)/docs/faq.html: \ | 102 $(OUT)/$(DOC_LANG)/docs/faq.html: \ |
121 $(FAQ_XML) \ | 103 $(FAQ_XML) \ |