comparison 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
comparison
equal deleted inserted replaced
431:0412333658fe 432:fbba1f292dc9
261 tar -c -y -f $(SITE).tar.bz2 \ 261 tar -c -y -f $(SITE).tar.bz2 \
262 --directory $(TEMP) \ 262 --directory $(TEMP) \
263 --exclude .svn \ 263 --exclude .svn \
264 $(SITE) 264 $(SITE)
265 265
266 dir.map: 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 /\\&/' > $@
269
270 ifeq ($(patsubst %.nginx.org,YES,$(shell hostname)), YES)
271 all: dir.map
272 endif
273
266 .DELETE_ON_ERROR: 274 .DELETE_ON_ERROR: