Mercurial > hg > nginx-site
diff 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 |
line wrap: on
line diff
--- a/xml/en/GNUmakefile Wed Feb 22 16:32:09 2012 +0000 +++ b/xml/en/GNUmakefile Fri Feb 24 10:15:45 2012 +0000 @@ -8,6 +8,7 @@ windows \ control \ hash \ + dirindex \ DOCS_XML = $(foreach name, $(DOCS), xml/$(DOC_LANG)/docs/$(name).xml) DOCS_HTML = $(foreach name, $(DOCS), $(OUT)/$(DOC_LANG)/docs/$(name).html) @@ -116,6 +117,16 @@ $(DOCS_XML) \ $(REFS_XML) \ +xml/$(DOC_LANG)/docs/dirindex.xml: \ + $(REFS_XML) \ + xslt/dirindex.xslt + echo "<modules>$(patsubst %, \ + <module name=\"%\"/>, $(filter %.xml,$^))</modules>" | \ + xsltproc -o - \ + --stringparam LANG $(patsubst xml/%/docs/dirindex.xml,%,$@) \ + xslt/dirindex.xslt - | \ + sed 's;xml/[^/]*/docs/;;g' > $@ + $(OUT)/$(DOC_LANG)/docs/introduction.html: \ $(INTRO_XML) \