diff GNUmakefile @ 1200:333eccb8a7f6

Moved dir.map postprocessing into template.
author Maxim Dounin <mdounin@mdounin.ru>
date Wed, 21 May 2014 21:37:27 +0400
parents 4851afb8922f
children c102344a0fa0
line wrap: on
line diff
--- a/GNUmakefile	Tue May 20 14:41:05 2014 +0400
+++ b/GNUmakefile	Wed May 21 21:37:27 2014 +0400
@@ -288,9 +288,7 @@
 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/^ *//;/^$$/d;s/^var_/$$/' |				\
-	sort -u -k1,1 | sed 's/^include /\\&/' > $@
+	xml/en/docs/varindex.xml > $@
 
 ifeq ($(patsubst %.nginx.org,YES,$(shell hostname)), YES)
 all:	dir.map