changeset 1197:4851afb8922f

Fixed dir.map generation.
author Ruslan Ermilov <ru@nginx.com>
date Sat, 17 May 2014 02:15:33 +0400
parents 1c9871bbb3e7
children 59099cb4b16f
files GNUmakefile
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/GNUmakefile	Sat May 17 02:14:12 2014 +0400
+++ b/GNUmakefile	Sat May 17 02:15:33 2014 +0400
@@ -289,7 +289,7 @@
 		xml/en/docs/varindex.xml
 	@xsltproc -o - xslt/dirmap.xslt xml/en/docs/dirindex.xml	\
 	xml/en/docs/varindex.xml |					\
-	sed 's/^var_/$$/' |						\
+	sed 's/^ *//;/^$$/d;s/^var_/$$/' |				\
 	sort -u -k1,1 | sed 's/^include /\\&/' > $@
 
 ifeq ($(patsubst %.nginx.org,YES,$(shell hostname)), YES)