Mercurial > hg > nginx-quic
annotate docs/GNUmakefile @ 4119:b66712cde67d
Upstream: pipe length and input_filter_init in buffered mode.
As long as ngx_event_pipe() has more data read from upstream than specified
in p->length it's passed to input filter even if buffer isn't yet full. This
allows to process data with known length without relying on connection close
to signal data end.
By default p->length is set to -1 in upstream module, i.e. end of data is
indicated by connection close. To set it from per-protocol handlers upstream
input_filter_init() now called in buffered mode (as well as in
unbuffered mode).
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 15 Sep 2011 19:00:47 +0000 |
parents | d889195c8db4 |
children | b9dade63fcc2 |
rev | line source |
---|---|
681 | 1 |
775 | 2 VER= $(shell grep 'define NGINX_VERSION' src/core/nginx.h \ |
3 | sed -e 's/^.*\"\(.*\)\"/\1/') | |
681 | 4 NGINX= nginx-$(VER) |
5 TEMP= tmp | |
6 CP= $(HOME)/java | |
7 | |
8 define XSLScript | |
3995
3ce6b8cedcb9
update documentation build procedure
Igor Sysoev <igor@sysoev.ru>
parents:
2065
diff
changeset
|
9 java -cp $(CP)/xsls/saxon.jar:$(CP)/xsls/xsls.jar \ |
681 | 10 com.pault.StyleSheet \ |
11 -x com.pault.XX -y com.pault.XX \ | |
3995
3ce6b8cedcb9
update documentation build procedure
Igor Sysoev <igor@sysoev.ru>
parents:
2065
diff
changeset
|
12 $(1) docs/xsls/dump.xsls \ |
3997 | 13 | sed 's/ *$$//;/^ *$$/N;/\n *$$/D' > $(2) |
681 | 14 |
15 if [ ! -s $(2) ]; then rm $(2); fi; test -s $(2) | |
16 endef | |
17 | |
18 define XSLT | |
3999
36ce2e430bdd
Don't ignore xmllint errors.
Ruslan Ermilov <ru@nginx.com>
parents:
3997
diff
changeset
|
19 xmllint --noout --valid $2 |
3995
3ce6b8cedcb9
update documentation build procedure
Igor Sysoev <igor@sysoev.ru>
parents:
2065
diff
changeset
|
20 xsltproc -o $3 \ |
3ce6b8cedcb9
update documentation build procedure
Igor Sysoev <igor@sysoev.ru>
parents:
2065
diff
changeset
|
21 $(shell echo $4 \\ |
681 | 22 | sed -e "s/\([^= ]*\)=\([^= ]*\)/--param \1 \"'\2'\"/g") \ |
3995
3ce6b8cedcb9
update documentation build procedure
Igor Sysoev <igor@sysoev.ru>
parents:
2065
diff
changeset
|
23 $1 $2 |
681 | 24 endef |
25 | |
26 | |
4068
22364b1f61c9
Initial English translation of Core and HTTP Core modules.
Ruslan Ermilov <ru@nginx.com>
parents:
4013
diff
changeset
|
27 all: changes html |
22364b1f61c9
Initial English translation of Core and HTTP Core modules.
Ruslan Ermilov <ru@nginx.com>
parents:
4013
diff
changeset
|
28 |
681 | 29 changes: $(TEMP)/$(NGINX)/CHANGES.ru \ |
30 $(TEMP)/$(NGINX)/CHANGES | |
31 | |
32 | |
33 $(TEMP)/$(NGINX)/CHANGES.ru: docs/xml/nginx/changes.xml \ | |
4013
b427290fb6bc
- Added missing dependencies for the CHANGES{,ru} targets.
Ruslan Ermilov <ru@nginx.com>
parents:
3999
diff
changeset
|
34 docs/xml/change_log_conf.xml \ |
681 | 35 docs/xslt/changes.xslt |
36 | |
37 test -d $(TEMP)/$(NGINX) || mkdir -p $(TEMP)/$(NGINX) | |
38 | |
4013
b427290fb6bc
- Added missing dependencies for the CHANGES{,ru} targets.
Ruslan Ermilov <ru@nginx.com>
parents:
3999
diff
changeset
|
39 xsltproc --stringparam lang ru \ |
681 | 40 -o $(TEMP)/$(NGINX)/CHANGES.ru \ |
41 docs/xslt/changes.xslt docs/xml/nginx/changes.xml | |
42 | |
43 | |
44 $(TEMP)/$(NGINX)/CHANGES: docs/xml/nginx/changes.xml \ | |
4013
b427290fb6bc
- Added missing dependencies for the CHANGES{,ru} targets.
Ruslan Ermilov <ru@nginx.com>
parents:
3999
diff
changeset
|
45 docs/xml/change_log_conf.xml \ |
681 | 46 docs/xslt/changes.xslt |
47 | |
2065 | 48 test -d $(TEMP)/$(NGINX) || mkdir -p $(TEMP)/$(NGINX) |
681 | 49 |
4013
b427290fb6bc
- Added missing dependencies for the CHANGES{,ru} targets.
Ruslan Ermilov <ru@nginx.com>
parents:
3999
diff
changeset
|
50 xsltproc --stringparam lang en \ |
681 | 51 -o $(TEMP)/$(NGINX)/CHANGES \ |
52 docs/xslt/changes.xslt docs/xml/nginx/changes.xml | |
53 | |
54 | |
55 docs/xslt/changes.xslt: docs/xsls/changes.xsls | |
56 | |
57 $(call XSLScript, docs/xsls/changes.xsls, $@) | |
58 | |
3996
fc808f006ff4
skeleton for documentation processing
Igor Sysoev <igor@sysoev.ru>
parents:
3995
diff
changeset
|
59 html: \ |
4068
22364b1f61c9
Initial English translation of Core and HTTP Core modules.
Ruslan Ermilov <ru@nginx.com>
parents:
4013
diff
changeset
|
60 docs/html/ngx_core_module.html \ |
4110
d889195c8db4
Added ngx_http_mp4_module documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
4068
diff
changeset
|
61 docs/html/http/ngx_http_core_module.html \ |
d889195c8db4
Added ngx_http_mp4_module documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
4068
diff
changeset
|
62 docs/html/http/ngx_http_mp4_module.html |
3996
fc808f006ff4
skeleton for documentation processing
Igor Sysoev <igor@sysoev.ru>
parents:
3995
diff
changeset
|
63 |
4068
22364b1f61c9
Initial English translation of Core and HTTP Core modules.
Ruslan Ermilov <ru@nginx.com>
parents:
4013
diff
changeset
|
64 docs/html/%.html: \ |
22364b1f61c9
Initial English translation of Core and HTTP Core modules.
Ruslan Ermilov <ru@nginx.com>
parents:
4013
diff
changeset
|
65 docs/xml/%.xml \ |
22364b1f61c9
Initial English translation of Core and HTTP Core modules.
Ruslan Ermilov <ru@nginx.com>
parents:
4013
diff
changeset
|
66 docs/xslt/module.xslt \ |
22364b1f61c9
Initial English translation of Core and HTTP Core modules.
Ruslan Ermilov <ru@nginx.com>
parents:
4013
diff
changeset
|
67 docs/dtd/module.dtd |
22364b1f61c9
Initial English translation of Core and HTTP Core modules.
Ruslan Ermilov <ru@nginx.com>
parents:
4013
diff
changeset
|
68 $(call XSLT, docs/xslt/module.xslt, $<, $@) |
22364b1f61c9
Initial English translation of Core and HTTP Core modules.
Ruslan Ermilov <ru@nginx.com>
parents:
4013
diff
changeset
|
69 |
4013
b427290fb6bc
- Added missing dependencies for the CHANGES{,ru} targets.
Ruslan Ermilov <ru@nginx.com>
parents:
3999
diff
changeset
|
70 docs/html/http/%.html: \ |
b427290fb6bc
- Added missing dependencies for the CHANGES{,ru} targets.
Ruslan Ermilov <ru@nginx.com>
parents:
3999
diff
changeset
|
71 docs/xml/http/%.xml \ |
3996
fc808f006ff4
skeleton for documentation processing
Igor Sysoev <igor@sysoev.ru>
parents:
3995
diff
changeset
|
72 docs/xslt/module.xslt \ |
fc808f006ff4
skeleton for documentation processing
Igor Sysoev <igor@sysoev.ru>
parents:
3995
diff
changeset
|
73 docs/dtd/module.dtd |
fc808f006ff4
skeleton for documentation processing
Igor Sysoev <igor@sysoev.ru>
parents:
3995
diff
changeset
|
74 $(call XSLT, docs/xslt/module.xslt, $<, $@) |
fc808f006ff4
skeleton for documentation processing
Igor Sysoev <igor@sysoev.ru>
parents:
3995
diff
changeset
|
75 |
4013
b427290fb6bc
- Added missing dependencies for the CHANGES{,ru} targets.
Ruslan Ermilov <ru@nginx.com>
parents:
3999
diff
changeset
|
76 docs/xslt/module.xslt: \ |
3996
fc808f006ff4
skeleton for documentation processing
Igor Sysoev <igor@sysoev.ru>
parents:
3995
diff
changeset
|
77 docs/xslt/directive.xslt \ |
fc808f006ff4
skeleton for documentation processing
Igor Sysoev <igor@sysoev.ru>
parents:
3995
diff
changeset
|
78 docs/xslt/content.xslt |
fc808f006ff4
skeleton for documentation processing
Igor Sysoev <igor@sysoev.ru>
parents:
3995
diff
changeset
|
79 |
fc808f006ff4
skeleton for documentation processing
Igor Sysoev <igor@sysoev.ru>
parents:
3995
diff
changeset
|
80 docs/xslt/%.xslt: docs/xsls/%.xsls |
fc808f006ff4
skeleton for documentation processing
Igor Sysoev <igor@sysoev.ru>
parents:
3995
diff
changeset
|
81 $(call XSLScript, $<, $@) |