Mercurial > hg > nginx
comparison docs/GNUmakefile @ 681:7e24168b0853 release-0.4.0
nginx-0.4.0-RELEASE import
*) Change in internal API: the HTTP modules initialization was moved
from the init module phase to the HTTP postconfiguration phase.
*) Change: now the request body is not read beforehand for the
ngx_http_perl_module: it's required to start the reading using the
$r->has_request_body method.
*) Feature: the ngx_http_perl_module supports the DECLINED return code.
*) Feature: the ngx_http_dav_module supports the incoming "Date" header
line for the PUT method.
*) Feature: the "ssi" directive is available inside the "if" block.
*) Bugfix: a segmentation fault occurred if there was an "index"
directive with variables and the first index name was without
variables; the bug had appeared in 0.1.29.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 30 Aug 2006 10:39:17 +0000 |
parents | |
children | a452a0e13539 |
comparison
equal
deleted
inserted
replaced
680:63a949f7ed4f | 681:7e24168b0853 |
---|---|
1 | |
2 VER= $(shell grep NGINX_VER src/core/nginx.h \ | |
3 | sed -e 's%^.*\"nginx/\(.*\)\"%\1%') | |
4 NGINX= nginx-$(VER) | |
5 TEMP= tmp | |
6 CP= $(HOME)/java | |
7 | |
8 define XSLScript | |
9 javavm -cp $(CP)/xsls/saxon.jar:$(CP)/xsls/xsls.jar \ | |
10 com.pault.StyleSheet \ | |
11 -x com.pault.XX -y com.pault.XX \ | |
12 $(1) docs/xsls/dump.xsls \ | |
13 | awk 'BEGIN{e=0}/^\n*$$/{e=1;next}{if(e){print"";e=0};print}' > $(2) | |
14 | |
15 if [ ! -s $(2) ]; then rm $(2); fi; test -s $(2) | |
16 endef | |
17 | |
18 define XSLT | |
19 xsltproc $(shell echo $4 \ | |
20 | sed -e "s/\([^= ]*\)=\([^= ]*\)/--param \1 \"'\2'\"/g") \ | |
21 $3 $1 \ | |
22 > $(HTML)/$(strip $(2)) | |
23 endef | |
24 | |
25 | |
26 changes: $(TEMP)/$(NGINX)/CHANGES.ru \ | |
27 $(TEMP)/$(NGINX)/CHANGES | |
28 | |
29 | |
30 $(TEMP)/$(NGINX)/CHANGES.ru: docs/xml/nginx/changes.xml \ | |
31 docs/xslt/changes.xslt | |
32 | |
33 test -d $(TEMP)/$(NGINX) || mkdir -p $(TEMP)/$(NGINX) | |
34 | |
35 xsltproc --param lang "'ru'" \ | |
36 -o $(TEMP)/$(NGINX)/CHANGES.ru \ | |
37 docs/xslt/changes.xslt docs/xml/nginx/changes.xml | |
38 | |
39 | |
40 $(TEMP)/$(NGINX)/CHANGES: docs/xml/nginx/changes.xml \ | |
41 docs/xslt/changes.xslt | |
42 | |
43 test -d $(TEMP)/$(NGINX) || mkdir - p$(TEMP)/$(NGINX) | |
44 | |
45 xsltproc --param lang "'en'" \ | |
46 -o $(TEMP)/$(NGINX)/CHANGES \ | |
47 docs/xslt/changes.xslt docs/xml/nginx/changes.xml | |
48 | |
49 | |
50 docs/xslt/changes.xslt: docs/xsls/changes.xsls | |
51 | |
52 $(call XSLScript, docs/xsls/changes.xsls, $@) | |
53 |