comparison xml/cn/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 149f54c158f0
children 8afb4cbc63bb
comparison
equal deleted inserted replaced
605:bfdc7833085a 606:cb43695220b2
1 DOC_LANG = cn 1 DOC_LANG = cn
2 2
3 DOCS = \ 3 DOCS = \
4 introduction \
5 howto \
6 faq \ 4 faq \
7 windows \ 5 windows \
6 http/request_processing \
7 http/server_names \
8 http/configuring_https_servers \
9 debugging_log \
10 http/converting_rewrite_rules \
8 11
9 DOCS_XML = $(foreach name, $(DOCS), xml/$(DOC_LANG)/docs/$(name).xml) 12 DOCS_XML = $(foreach name, $(DOCS), xml/$(DOC_LANG)/docs/$(name).xml)
10 DOCS_HTML = $(foreach name, $(DOCS), $(OUT)/$(DOC_LANG)/docs/$(name).html) 13 DOCS_HTML = $(foreach name, $(DOCS), $(OUT)/$(DOC_LANG)/docs/$(name).html)
11
12 INTRO = \
13 http/request_processing \
14 http/server_names \
15 http/configuring_https_servers \
16
17 INTRO_XML = $(foreach name, $(INTRO), xml/$(DOC_LANG)/docs/$(name).xml)
18 INTRO_HTML = $(foreach name, $(INTRO), $(OUT)/$(DOC_LANG)/docs/$(name).html)
19
20 HOWTO = \
21 debugging_log \
22 http/converting_rewrite_rules \
23
24 HOWTO_XML = $(foreach name, $(HOWTO), xml/$(DOC_LANG)/docs/$(name).xml)
25 HOWTO_HTML = $(foreach name, $(HOWTO), $(OUT)/$(DOC_LANG)/docs/$(name).html)
26 14
27 FAQ = \ 15 FAQ = \
28 welcome_nginx_facebook \ 16 welcome_nginx_facebook \
29 sys_errlist \ 17 sys_errlist \
30 18
40 $(FAQ_HTML) \ 28 $(FAQ_HTML) \
41 29
42 $(OUT)/$(DOC_LANG)/docs/index.html: \ 30 $(OUT)/$(DOC_LANG)/docs/index.html: \
43 $(DOCS_XML) \ 31 $(DOCS_XML) \
44 32
45 $(OUT)/$(DOC_LANG)/docs/introduction.html: \
46 $(INTRO_XML) \
47
48 $(OUT)/$(DOC_LANG)/docs/howto.html: \
49 $(HOWTO_XML) \
50
51 $(OUT)/$(DOC_LANG)/docs/faq.html: \ 33 $(OUT)/$(DOC_LANG)/docs/faq.html: \
52 $(FAQ_XML) \ 34 $(FAQ_XML) \