changeset 1159:166fd33afad1

Extended dir.map with links to variables.
author Ruslan Ermilov <ru@nginx.com>
date Thu, 17 Apr 2014 07:54:55 +0400
parents 48f411449e2b
children 0871621c6341
files GNUmakefile xsls/dirmap.xsls
diffstat 2 files changed, 5 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -285,8 +285,11 @@ sign:
 	gpg -sab binary/download/nginx-$(NGINX).zip
 
 
-dir.map:	xslt/dirmap.xslt xml/en/docs/dirindex.xml
-	@xsltproc -o - xslt/dirmap.xslt xml/en/docs/dirindex.xml |	\
+dir.map:	xslt/dirmap.xslt xml/en/docs/dirindex.xml		\
+		xml/en/docs/varindex.xml
+	@xsltproc -o - xslt/dirmap.xslt xml/en/docs/dirindex.xml	\
+	xml/en/docs/varindex.xml |					\
+	sed 's/^var_/$$/' |						\
 	sort -u -k1,1 | sed 's/^include /\\&/' > $@
 
 ifeq ($(patsubst %.nginx.org,YES,$(shell hostname)), YES)
--- a/xsls/dirmap.xsls
+++ b/xsls/dirmap.xsls
@@ -15,8 +15,4 @@ X:template = "link" {
     X:text{;&#10;}
 }
 
-X:template = "links" {
-    !! "link";
 }
-
-}