comparison xml/tr/GNUmakefile @ 0:61e04fc01027

Initial import of the nginx.org website.
author Ruslan Ermilov <ru@nginx.com>
date Thu, 11 Aug 2011 12:19:13 +0000
parents
children 8ed43632a28c
comparison
equal deleted inserted replaced
-1:000000000000 0:61e04fc01027
1
2 DOCS_TR = tr/docs/windows \
3 tr/docs/introduction \
4 tr/docs/howto \
5 tr/docs/faq \
6
7 DOCS_TR_XML = $(foreach name, $(DOCS_TR), xml/$(name).xml)
8 DOCS_TR_HTML = $(foreach name, $(DOCS_TR), $(OUT)/$(name).html)
9
10 INTRO_TR = tr/docs/http/request_processing \
11 tr/docs/http/configuring_https_servers \
12 tr/docs/http/server_names \
13
14 INTRO_TR_XML = $(foreach name, $(INTRO_TR), xml/$(name).xml)
15 INTRO_TR_HTML = $(foreach name, $(INTRO_TR), $(OUT)/$(name).html)
16
17 HOWTO_TR = tr/docs/debugging_log \
18 tr/docs/http/converting_rewrite_rules \
19
20 HOWTO_TR_XML = $(foreach name, $(HOWTO_TR), xml/$(name).xml)
21 HOWTO_TR_HTML = $(foreach name, $(HOWTO_TR), $(OUT)/$(name).html)
22
23 FAQ_TR = tr/docs/sys_errlist \
24
25 FAQ_TR_XML = $(foreach name, $(FAQ_TR), xml/$(name).xml)
26 FAQ_TR_HTML = $(foreach name, $(FAQ_TR), $(OUT)/$(name).html)
27
28 tr: \
29 $(OUT)/tr/index.html \
30 $(OUT)/tr/docs/index.html \
31 $(DOCS_TR_HTML) \
32 $(INTRO_TR_HTML) \
33 $(HOWTO_TR_HTML) \
34 $(FAQ_TR_HTML) \
35
36 $(OUT)/tr/docs/introduction.html: xml/tr/docs/introduction.xml \
37 $(ARTICLE_XSLT) \
38 $(INTRO_TR_XML)
39 $(call XSLT, xslt/article.xslt, $<, $@)
40
41 $(OUT)/tr/docs/howto.html: xml/tr/docs/howto.xml \
42 $(ARTICLE_XSLT) \
43 $(HOWTO_TR_XML)
44 $(call XSLT, xslt/article.xslt, $<, $@)
45
46 $(OUT)/tr/docs/faq.html: xml/tr/docs/faq.xml \
47 $(ARTICLE_XSLT) \
48 $(FAQ_TR_XML)
49 $(call XSLT, xslt/article.xslt, $<, $@)