Mercurial > hg > nginx-quic
annotate docs/GNUmakefile @ 4244:df9d3dd8cfc0 stable-1.0
Merging r4020:
SIGWINCH/NOACCEPT signal is disabled now in non-daemon mode.
Non-daemon mode is currently used by supervisord, daemontools and so on
or during debugging. The NOACCEPT signal is only used for online upgrade
which is not supported when nginx is run under supervisord, etc.,
so this change should not break existant setups.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 01 Nov 2011 11:26:56 +0000 |
parents | 3e706fcccbf3 |
children | dc7549aa8556 |
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 | |
4047
3e706fcccbf3
Merge of r3996, r3998, r4015, r4023, r4025, r4026, r4027:
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 \ | |
4047
3e706fcccbf3
Merge of r3996, r3998, r4015, r4023, r4025, r4026, r4027:
Igor Sysoev <igor@sysoev.ru>
parents:
2065
diff
changeset
|
12 $(1) docs/xsls/dump.xsls \ |
3e706fcccbf3
Merge of r3996, r3998, r4015, r4023, r4025, r4026, r4027:
Igor Sysoev <igor@sysoev.ru>
parents:
2065
diff
changeset
|
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 | |
4047
3e706fcccbf3
Merge of r3996, r3998, r4015, r4023, r4025, r4026, r4027:
Igor Sysoev <igor@sysoev.ru>
parents:
2065
diff
changeset
|
19 xmllint --noout --valid $2; \ |
3e706fcccbf3
Merge of r3996, r3998, r4015, r4023, r4025, r4026, r4027:
Igor Sysoev <igor@sysoev.ru>
parents:
2065
diff
changeset
|
20 xsltproc -o $3 \ |
3e706fcccbf3
Merge of r3996, r3998, r4015, r4023, r4025, r4026, r4027:
Igor Sysoev <igor@sysoev.ru>
parents:
2065
diff
changeset
|
21 $(shell echo $4 \\ |
681 | 22 | sed -e "s/\([^= ]*\)=\([^= ]*\)/--param \1 \"'\2'\"/g") \ |
4047
3e706fcccbf3
Merge of r3996, r3998, r4015, r4023, r4025, r4026, r4027:
Igor Sysoev <igor@sysoev.ru>
parents:
2065
diff
changeset
|
23 $1 $2 |
681 | 24 endef |
25 | |
26 | |
27 changes: $(TEMP)/$(NGINX)/CHANGES.ru \ | |
28 $(TEMP)/$(NGINX)/CHANGES | |
29 | |
30 | |
31 $(TEMP)/$(NGINX)/CHANGES.ru: docs/xml/nginx/changes.xml \ | |
32 docs/xslt/changes.xslt | |
33 | |
34 test -d $(TEMP)/$(NGINX) || mkdir -p $(TEMP)/$(NGINX) | |
35 | |
36 xsltproc --param lang "'ru'" \ | |
37 -o $(TEMP)/$(NGINX)/CHANGES.ru \ | |
38 docs/xslt/changes.xslt docs/xml/nginx/changes.xml | |
39 | |
40 | |
41 $(TEMP)/$(NGINX)/CHANGES: docs/xml/nginx/changes.xml \ | |
42 docs/xslt/changes.xslt | |
43 | |
2065 | 44 test -d $(TEMP)/$(NGINX) || mkdir -p $(TEMP)/$(NGINX) |
681 | 45 |
46 xsltproc --param lang "'en'" \ | |
47 -o $(TEMP)/$(NGINX)/CHANGES \ | |
48 docs/xslt/changes.xslt docs/xml/nginx/changes.xml | |
49 | |
50 | |
51 docs/xslt/changes.xslt: docs/xsls/changes.xsls | |
52 | |
53 $(call XSLScript, docs/xsls/changes.xsls, $@) | |
54 |