Mercurial > hg > nginx-site
comparison xml/en/GNUmakefile @ 423:04ad7c1b1b04
Alphabetical index of directives.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Fri, 24 Feb 2012 10:15:45 +0000 |
parents | c9c0550465c9 |
children | 6330ca27a485 |
comparison
equal
deleted
inserted
replaced
422:ae5474268118 | 423:04ad7c1b1b04 |
---|---|
6 faq \ | 6 faq \ |
7 install \ | 7 install \ |
8 windows \ | 8 windows \ |
9 control \ | 9 control \ |
10 hash \ | 10 hash \ |
11 dirindex \ | |
11 | 12 |
12 DOCS_XML = $(foreach name, $(DOCS), xml/$(DOC_LANG)/docs/$(name).xml) | 13 DOCS_XML = $(foreach name, $(DOCS), xml/$(DOC_LANG)/docs/$(name).xml) |
13 DOCS_HTML = $(foreach name, $(DOCS), $(OUT)/$(DOC_LANG)/docs/$(name).html) | 14 DOCS_HTML = $(foreach name, $(DOCS), $(OUT)/$(DOC_LANG)/docs/$(name).html) |
14 | 15 |
15 INTRO = \ | 16 INTRO = \ |
114 | 115 |
115 $(OUT)/$(DOC_LANG)/docs/index.html: \ | 116 $(OUT)/$(DOC_LANG)/docs/index.html: \ |
116 $(DOCS_XML) \ | 117 $(DOCS_XML) \ |
117 $(REFS_XML) \ | 118 $(REFS_XML) \ |
118 | 119 |
120 xml/$(DOC_LANG)/docs/dirindex.xml: \ | |
121 $(REFS_XML) \ | |
122 xslt/dirindex.xslt | |
123 echo "<modules>$(patsubst %, \ | |
124 <module name=\"%\"/>, $(filter %.xml,$^))</modules>" | \ | |
125 xsltproc -o - \ | |
126 --stringparam LANG $(patsubst xml/%/docs/dirindex.xml,%,$@) \ | |
127 xslt/dirindex.xslt - | \ | |
128 sed 's;xml/[^/]*/docs/;;g' > $@ | |
129 | |
119 $(OUT)/$(DOC_LANG)/docs/introduction.html: \ | 130 $(OUT)/$(DOC_LANG)/docs/introduction.html: \ |
120 $(INTRO_XML) \ | 131 $(INTRO_XML) \ |
121 | 132 |
122 $(OUT)/$(DOC_LANG)/docs/howto.html: \ | 133 $(OUT)/$(DOC_LANG)/docs/howto.html: \ |
123 $(HOWTO_XML) \ | 134 $(HOWTO_XML) \ |