Mercurial > hg > nginx-site
diff xml/ru/GNUmakefile @ 423:04ad7c1b1b04
Alphabetical index of directives.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Fri, 24 Feb 2012 10:15:45 +0000 |
parents | c9349a06b234 |
children | ef11546f75ee |
line wrap: on
line diff
--- a/xml/ru/GNUmakefile +++ b/xml/ru/GNUmakefile @@ -12,6 +12,7 @@ DOCS = \ virtual_hosts \ 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) @@ -92,6 +93,16 @@ REFS_HTML = $(foreach name, $(REFS), $(O $(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/howto.html: \ $(HOWTO_XML) \