Mercurial > hg > nginx-site
comparison GNUmakefile @ 434:644869149f36
Added commands to install the generated dir.map on a website.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Tue, 28 Feb 2012 09:36:05 +0000 |
parents | fbba1f292dc9 |
children | 23c193ca8ebd |
comparison
equal
deleted
inserted
replaced
433:07c513842c98 | 434:644869149f36 |
---|---|
267 @xsltproc -o - xslt/dirmap.xslt xml/en/docs/dirindex.xml | \ | 267 @xsltproc -o - xslt/dirmap.xslt xml/en/docs/dirindex.xml | \ |
268 sort -u -k1,1 | sed 's/^include /\\&/' > $@ | 268 sort -u -k1,1 | sed 's/^include /\\&/' > $@ |
269 | 269 |
270 ifeq ($(patsubst %.nginx.org,YES,$(shell hostname)), YES) | 270 ifeq ($(patsubst %.nginx.org,YES,$(shell hostname)), YES) |
271 all: dir.map | 271 all: dir.map |
272 copy: copy_dirmap | |
273 .PHONY: copy_dirmap | |
274 copy_dirmap: | |
275 /usr/local/bin/copy_dirmap.sh dir.map | |
272 endif | 276 endif |
273 | 277 |
274 .DELETE_ON_ERROR: | 278 .DELETE_ON_ERROR: |