Mercurial > hg > nginx-site
comparison GNUmakefile @ 1197:4851afb8922f
Fixed dir.map generation.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Sat, 17 May 2014 02:15:33 +0400 |
parents | 166fd33afad1 |
children | 333eccb8a7f6 |
comparison
equal
deleted
inserted
replaced
1196:1c9871bbb3e7 | 1197:4851afb8922f |
---|---|
287 | 287 |
288 dir.map: xslt/dirmap.xslt xml/en/docs/dirindex.xml \ | 288 dir.map: xslt/dirmap.xslt xml/en/docs/dirindex.xml \ |
289 xml/en/docs/varindex.xml | 289 xml/en/docs/varindex.xml |
290 @xsltproc -o - xslt/dirmap.xslt xml/en/docs/dirindex.xml \ | 290 @xsltproc -o - xslt/dirmap.xslt xml/en/docs/dirindex.xml \ |
291 xml/en/docs/varindex.xml | \ | 291 xml/en/docs/varindex.xml | \ |
292 sed 's/^var_/$$/' | \ | 292 sed 's/^ *//;/^$$/d;s/^var_/$$/' | \ |
293 sort -u -k1,1 | sed 's/^include /\\&/' > $@ | 293 sort -u -k1,1 | sed 's/^include /\\&/' > $@ |
294 | 294 |
295 ifeq ($(patsubst %.nginx.org,YES,$(shell hostname)), YES) | 295 ifeq ($(patsubst %.nginx.org,YES,$(shell hostname)), YES) |
296 all: dir.map | 296 all: dir.map |
297 copy: copy_dirmap | 297 copy: copy_dirmap |