Mercurial > hg > nginx-site
diff GNUmakefile @ 432:fbba1f292dc9
Generate mapping of directives to URIs in the nginx map format.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Tue, 28 Feb 2012 08:06:22 +0000 |
parents | fc2bd185dc02 |
children | 644869149f36 |
line wrap: on
line diff
--- a/GNUmakefile +++ b/GNUmakefile @@ -263,4 +263,12 @@ tarball: --exclude .svn \ $(SITE) +dir.map: xslt/dirmap.xslt xml/en/docs/dirindex.xml + @xsltproc -o - xslt/dirmap.xslt xml/en/docs/dirindex.xml | \ + sort -u -k1,1 | sed 's/^include /\\&/' > $@ + +ifeq ($(patsubst %.nginx.org,YES,$(shell hostname)), YES) +all: dir.map +endif + .DELETE_ON_ERROR: