Mercurial > hg > nginx
annotate misc/GNUmakefile @ 5161:a5f7d455e271 stable-1.2
Merge of r5130, r5131, r5132: support for Mercurial repositories.
*) Misc: switch to single export operation in "zip" target.
While exporting parts of the tree might be better in some cases, it
is awfully slow overseas, and also requires unlocking ssh key multiple
times. Exporting the whole repo and removing directories not needed for
zip is faster here.
It is also a required step before we can switch to Mercurial.
*) Misc: removed unused "snapshot" target.
*) Misc: support for Mercurial repositories.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Fri, 29 Mar 2013 18:09:06 +0000 |
parents | 0112e3dcc51b |
children |
rev | line source |
---|---|
681 | 1 |
2725 | 2 VER = $(shell grep 'define NGINX_VERSION' src/core/nginx.h \ |
3 | sed -e 's/^.*\"\(.*\)\"/\1/') | |
4 NGINX = nginx-$(VER) | |
5 TEMP = tmp | |
4320
b72828fe457f
Compute the repository root from the checkout.
Ruslan Ermilov <ru@nginx.com>
parents:
4264
diff
changeset
|
6 REPO = $(shell svn info | sed -n 's/^Repository Root: //p') |
2725 | 7 |
8 OBJS = objs.msvc8 | |
5066
0112e3dcc51b
Merge of r5005, r5031, r5066: PCRE and OpenSSL for win32 builds.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4902
diff
changeset
|
9 OPENSSL = openssl-1.0.1e |
4849
026ff0eb3062
Merge of r4779, r4840, r4843, r4844: win32 changes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4847
diff
changeset
|
10 ZLIB = zlib-1.2.7 |
5066
0112e3dcc51b
Merge of r5005, r5031, r5066: PCRE and OpenSSL for win32 builds.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4902
diff
changeset
|
11 PCRE = pcre-8.32 |
681 | 12 |
13 | |
5161
a5f7d455e271
Merge of r5130, r5131, r5132: support for Mercurial repositories.
Maxim Dounin <mdounin@mdounin.ru>
parents:
5066
diff
changeset
|
14 release: export |
681 | 15 |
16 mv $(TEMP)/$(NGINX)/auto/configure $(TEMP)/$(NGINX) | |
17 | |
18 # delete incomplete sources | |
19 rm $(TEMP)/$(NGINX)/src/event/ngx_event_acceptex.c | |
20 rm $(TEMP)/$(NGINX)/src/event/ngx_event_connectex.c | |
21 rm $(TEMP)/$(NGINX)/src/event/modules/ngx_iocp_module.* | |
22 rm -r $(TEMP)/$(NGINX)/src/os/win32 | |
23 | |
24 rm -r $(TEMP)/$(NGINX)/src/mysql | |
25 | |
26 mv $(TEMP)/$(NGINX)/docs/text/LICENSE $(TEMP)/$(NGINX) | |
27 mv $(TEMP)/$(NGINX)/docs/text/README $(TEMP)/$(NGINX) | |
28 mv $(TEMP)/$(NGINX)/docs/html $(TEMP)/$(NGINX) | |
3801
569716d0e447
add man page in release tarball and fix man building procedure
Igor Sysoev <igor@sysoev.ru>
parents:
3717
diff
changeset
|
29 mv $(TEMP)/$(NGINX)/docs/man $(TEMP)/$(NGINX) |
681 | 30 |
31 $(MAKE) -f docs/GNUmakefile changes | |
32 | |
33 rm -r $(TEMP)/$(NGINX)/docs | |
34 rm -r $(TEMP)/$(NGINX)/misc | |
35 | |
704
58bd27d72519
fix bug introduced with snapshot support
Igor Sysoev <igor@sysoev.ru>
parents:
701
diff
changeset
|
36 tar -c -z -f $(NGINX).tar.gz --directory $(TEMP) $(NGINX) |
58bd27d72519
fix bug introduced with snapshot support
Igor Sysoev <igor@sysoev.ru>
parents:
701
diff
changeset
|
37 |
701 | 38 |
5161
a5f7d455e271
Merge of r5130, r5131, r5132: support for Mercurial repositories.
Maxim Dounin <mdounin@mdounin.ru>
parents:
5066
diff
changeset
|
39 export: |
a5f7d455e271
Merge of r5130, r5131, r5132: support for Mercurial repositories.
Maxim Dounin <mdounin@mdounin.ru>
parents:
5066
diff
changeset
|
40 rm -rf $(TEMP) |
a5f7d455e271
Merge of r5130, r5131, r5132: support for Mercurial repositories.
Maxim Dounin <mdounin@mdounin.ru>
parents:
5066
diff
changeset
|
41 |
a5f7d455e271
Merge of r5130, r5131, r5132: support for Mercurial repositories.
Maxim Dounin <mdounin@mdounin.ru>
parents:
5066
diff
changeset
|
42 if [ -d .svn ]; then \ |
a5f7d455e271
Merge of r5130, r5131, r5132: support for Mercurial repositories.
Maxim Dounin <mdounin@mdounin.ru>
parents:
5066
diff
changeset
|
43 svn export -rHEAD . $(TEMP)/$(NGINX); \ |
a5f7d455e271
Merge of r5130, r5131, r5132: support for Mercurial repositories.
Maxim Dounin <mdounin@mdounin.ru>
parents:
5066
diff
changeset
|
44 else \ |
a5f7d455e271
Merge of r5130, r5131, r5132: support for Mercurial repositories.
Maxim Dounin <mdounin@mdounin.ru>
parents:
5066
diff
changeset
|
45 hg archive -X '.hg*' $(TEMP)/$(NGINX); \ |
a5f7d455e271
Merge of r5130, r5131, r5132: support for Mercurial repositories.
Maxim Dounin <mdounin@mdounin.ru>
parents:
5066
diff
changeset
|
46 fi |
a5f7d455e271
Merge of r5130, r5131, r5132: support for Mercurial repositories.
Maxim Dounin <mdounin@mdounin.ru>
parents:
5066
diff
changeset
|
47 |
a5f7d455e271
Merge of r5130, r5131, r5132: support for Mercurial repositories.
Maxim Dounin <mdounin@mdounin.ru>
parents:
5066
diff
changeset
|
48 |
4211
effc7962aebe
Moving RELEASE target in more safe place.
Igor Sysoev <igor@sysoev.ru>
parents:
4181
diff
changeset
|
49 RELEASE: |
5161
a5f7d455e271
Merge of r5130, r5131, r5132: support for Mercurial repositories.
Maxim Dounin <mdounin@mdounin.ru>
parents:
5066
diff
changeset
|
50 if [ -d .svn ]; then \ |
a5f7d455e271
Merge of r5130, r5131, r5132: support for Mercurial repositories.
Maxim Dounin <mdounin@mdounin.ru>
parents:
5066
diff
changeset
|
51 $(MAKE) -f misc/GNUmakefile RELEASE.svn; \ |
a5f7d455e271
Merge of r5130, r5131, r5132: support for Mercurial repositories.
Maxim Dounin <mdounin@mdounin.ru>
parents:
5066
diff
changeset
|
52 else \ |
a5f7d455e271
Merge of r5130, r5131, r5132: support for Mercurial repositories.
Maxim Dounin <mdounin@mdounin.ru>
parents:
5066
diff
changeset
|
53 $(MAKE) -f misc/GNUmakefile RELEASE.hg; \ |
a5f7d455e271
Merge of r5130, r5131, r5132: support for Mercurial repositories.
Maxim Dounin <mdounin@mdounin.ru>
parents:
5066
diff
changeset
|
54 fi |
a5f7d455e271
Merge of r5130, r5131, r5132: support for Mercurial repositories.
Maxim Dounin <mdounin@mdounin.ru>
parents:
5066
diff
changeset
|
55 |
a5f7d455e271
Merge of r5130, r5131, r5132: support for Mercurial repositories.
Maxim Dounin <mdounin@mdounin.ru>
parents:
5066
diff
changeset
|
56 $(MAKE) -f misc/GNUmakefile release |
a5f7d455e271
Merge of r5130, r5131, r5132: support for Mercurial repositories.
Maxim Dounin <mdounin@mdounin.ru>
parents:
5066
diff
changeset
|
57 |
a5f7d455e271
Merge of r5130, r5131, r5132: support for Mercurial repositories.
Maxim Dounin <mdounin@mdounin.ru>
parents:
5066
diff
changeset
|
58 |
a5f7d455e271
Merge of r5130, r5131, r5132: support for Mercurial repositories.
Maxim Dounin <mdounin@mdounin.ru>
parents:
5066
diff
changeset
|
59 RELEASE.hg: |
a5f7d455e271
Merge of r5130, r5131, r5132: support for Mercurial repositories.
Maxim Dounin <mdounin@mdounin.ru>
parents:
5066
diff
changeset
|
60 hg ci -m nginx-$(VER)-RELEASE |
a5f7d455e271
Merge of r5130, r5131, r5132: support for Mercurial repositories.
Maxim Dounin <mdounin@mdounin.ru>
parents:
5066
diff
changeset
|
61 hg tag -m "release-$(VER) tag" release-$(VER) |
a5f7d455e271
Merge of r5130, r5131, r5132: support for Mercurial repositories.
Maxim Dounin <mdounin@mdounin.ru>
parents:
5066
diff
changeset
|
62 |
a5f7d455e271
Merge of r5130, r5131, r5132: support for Mercurial repositories.
Maxim Dounin <mdounin@mdounin.ru>
parents:
5066
diff
changeset
|
63 |
a5f7d455e271
Merge of r5130, r5131, r5132: support for Mercurial repositories.
Maxim Dounin <mdounin@mdounin.ru>
parents:
5066
diff
changeset
|
64 RELEASE.svn: |
4211
effc7962aebe
Moving RELEASE target in more safe place.
Igor Sysoev <igor@sysoev.ru>
parents:
4181
diff
changeset
|
65 test -d $(TEMP) || mkdir -p $(TEMP) |
effc7962aebe
Moving RELEASE target in more safe place.
Igor Sysoev <igor@sysoev.ru>
parents:
4181
diff
changeset
|
66 |
effc7962aebe
Moving RELEASE target in more safe place.
Igor Sysoev <igor@sysoev.ru>
parents:
4181
diff
changeset
|
67 echo "nginx-$(VER)-RELEASE" > $(TEMP)/message |
effc7962aebe
Moving RELEASE target in more safe place.
Igor Sysoev <igor@sysoev.ru>
parents:
4181
diff
changeset
|
68 svn ci -F $(TEMP)/message |
effc7962aebe
Moving RELEASE target in more safe place.
Igor Sysoev <igor@sysoev.ru>
parents:
4181
diff
changeset
|
69 |
effc7962aebe
Moving RELEASE target in more safe place.
Igor Sysoev <igor@sysoev.ru>
parents:
4181
diff
changeset
|
70 echo "release-$(VER) tag" > $(TEMP)/message |
4702
ad7b9c54301d
Fixed misc/GNUmakefile to properly tag on stable-1.2 branch.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4672
diff
changeset
|
71 svn copy $(REPO)/branches/stable-1.2 \ |
ad7b9c54301d
Fixed misc/GNUmakefile to properly tag on stable-1.2 branch.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4672
diff
changeset
|
72 $(REPO)/tags/release-$(VER) \ |
4211
effc7962aebe
Moving RELEASE target in more safe place.
Igor Sysoev <igor@sysoev.ru>
parents:
4181
diff
changeset
|
73 -F $(TEMP)/message |
effc7962aebe
Moving RELEASE target in more safe place.
Igor Sysoev <igor@sysoev.ru>
parents:
4181
diff
changeset
|
74 |
effc7962aebe
Moving RELEASE target in more safe place.
Igor Sysoev <igor@sysoev.ru>
parents:
4181
diff
changeset
|
75 svn up |
effc7962aebe
Moving RELEASE target in more safe place.
Igor Sysoev <igor@sysoev.ru>
parents:
4181
diff
changeset
|
76 |
681 | 77 |
4849
026ff0eb3062
Merge of r4779, r4840, r4843, r4844: win32 changes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4847
diff
changeset
|
78 win32: |
026ff0eb3062
Merge of r4779, r4840, r4843, r4844: win32 changes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4847
diff
changeset
|
79 ./auto/configure \ |
026ff0eb3062
Merge of r4779, r4840, r4843, r4844: win32 changes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4847
diff
changeset
|
80 --with-cc=cl \ |
4902
db9ce6fc9482
Merge of r4870, r4871, r4890, r4895: minor fixes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4860
diff
changeset
|
81 --builddir=$(OBJS) \ |
4849
026ff0eb3062
Merge of r4779, r4840, r4843, r4844: win32 changes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4847
diff
changeset
|
82 --with-debug \ |
026ff0eb3062
Merge of r4779, r4840, r4843, r4844: win32 changes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4847
diff
changeset
|
83 --prefix= \ |
026ff0eb3062
Merge of r4779, r4840, r4843, r4844: win32 changes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4847
diff
changeset
|
84 --conf-path=conf/nginx.conf \ |
026ff0eb3062
Merge of r4779, r4840, r4843, r4844: win32 changes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4847
diff
changeset
|
85 --pid-path=logs/nginx.pid \ |
026ff0eb3062
Merge of r4779, r4840, r4843, r4844: win32 changes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4847
diff
changeset
|
86 --http-log-path=logs/access.log \ |
026ff0eb3062
Merge of r4779, r4840, r4843, r4844: win32 changes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4847
diff
changeset
|
87 --error-log-path=logs/error.log \ |
026ff0eb3062
Merge of r4779, r4840, r4843, r4844: win32 changes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4847
diff
changeset
|
88 --sbin-path=nginx.exe \ |
026ff0eb3062
Merge of r4779, r4840, r4843, r4844: win32 changes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4847
diff
changeset
|
89 --http-client-body-temp-path=temp/client_body_temp \ |
026ff0eb3062
Merge of r4779, r4840, r4843, r4844: win32 changes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4847
diff
changeset
|
90 --http-proxy-temp-path=temp/proxy_temp \ |
026ff0eb3062
Merge of r4779, r4840, r4843, r4844: win32 changes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4847
diff
changeset
|
91 --http-fastcgi-temp-path=temp/fastcgi_temp \ |
026ff0eb3062
Merge of r4779, r4840, r4843, r4844: win32 changes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4847
diff
changeset
|
92 --http-scgi-temp-path=temp/scgi_temp \ |
026ff0eb3062
Merge of r4779, r4840, r4843, r4844: win32 changes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4847
diff
changeset
|
93 --http-uwsgi-temp-path=temp/uwsgi_temp \ |
026ff0eb3062
Merge of r4779, r4840, r4843, r4844: win32 changes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4847
diff
changeset
|
94 --with-cc-opt=-DFD_SETSIZE=1024 \ |
4902
db9ce6fc9482
Merge of r4870, r4871, r4890, r4895: minor fixes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4860
diff
changeset
|
95 --with-pcre=$(OBJS)/lib/$(PCRE) \ |
db9ce6fc9482
Merge of r4870, r4871, r4890, r4895: minor fixes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4860
diff
changeset
|
96 --with-zlib=$(OBJS)/lib/$(ZLIB) \ |
4849
026ff0eb3062
Merge of r4779, r4840, r4843, r4844: win32 changes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4847
diff
changeset
|
97 --with-select_module \ |
026ff0eb3062
Merge of r4779, r4840, r4843, r4844: win32 changes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4847
diff
changeset
|
98 --with-http_realip_module \ |
026ff0eb3062
Merge of r4779, r4840, r4843, r4844: win32 changes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4847
diff
changeset
|
99 --with-http_addition_module \ |
026ff0eb3062
Merge of r4779, r4840, r4843, r4844: win32 changes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4847
diff
changeset
|
100 --with-http_sub_module \ |
026ff0eb3062
Merge of r4779, r4840, r4843, r4844: win32 changes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4847
diff
changeset
|
101 --with-http_dav_module \ |
026ff0eb3062
Merge of r4779, r4840, r4843, r4844: win32 changes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4847
diff
changeset
|
102 --with-http_stub_status_module \ |
026ff0eb3062
Merge of r4779, r4840, r4843, r4844: win32 changes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4847
diff
changeset
|
103 --with-http_flv_module \ |
026ff0eb3062
Merge of r4779, r4840, r4843, r4844: win32 changes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4847
diff
changeset
|
104 --with-http_mp4_module \ |
026ff0eb3062
Merge of r4779, r4840, r4843, r4844: win32 changes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4847
diff
changeset
|
105 --with-http_gzip_static_module \ |
026ff0eb3062
Merge of r4779, r4840, r4843, r4844: win32 changes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4847
diff
changeset
|
106 --with-http_random_index_module \ |
026ff0eb3062
Merge of r4779, r4840, r4843, r4844: win32 changes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4847
diff
changeset
|
107 --with-http_secure_link_module \ |
026ff0eb3062
Merge of r4779, r4840, r4843, r4844: win32 changes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4847
diff
changeset
|
108 --with-mail \ |
4902
db9ce6fc9482
Merge of r4870, r4871, r4890, r4895: minor fixes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4860
diff
changeset
|
109 --with-openssl=$(OBJS)/lib/$(OPENSSL) \ |
4849
026ff0eb3062
Merge of r4779, r4840, r4843, r4844: win32 changes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4847
diff
changeset
|
110 --with-openssl-opt=enable-tlsext \ |
026ff0eb3062
Merge of r4779, r4840, r4843, r4844: win32 changes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4847
diff
changeset
|
111 --with-http_ssl_module \ |
026ff0eb3062
Merge of r4779, r4840, r4843, r4844: win32 changes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4847
diff
changeset
|
112 --with-mail_ssl_module \ |
026ff0eb3062
Merge of r4779, r4840, r4843, r4844: win32 changes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4847
diff
changeset
|
113 --with-ipv6 |
681 | 114 |
5161
a5f7d455e271
Merge of r5130, r5131, r5132: support for Mercurial repositories.
Maxim Dounin <mdounin@mdounin.ru>
parents:
5066
diff
changeset
|
115 |
a5f7d455e271
Merge of r5130, r5131, r5132: support for Mercurial repositories.
Maxim Dounin <mdounin@mdounin.ru>
parents:
5066
diff
changeset
|
116 zip: export |
2725 | 117 rm -f $(NGINX).zip |
118 | |
5161
a5f7d455e271
Merge of r5130, r5131, r5132: support for Mercurial repositories.
Maxim Dounin <mdounin@mdounin.ru>
parents:
5066
diff
changeset
|
119 mkdir -p $(TEMP)/$(NGINX)/docs.new |
2725 | 120 mkdir -p $(TEMP)/$(NGINX)/logs |
121 mkdir -p $(TEMP)/$(NGINX)/temp | |
122 | |
4847
0275f587e00b
Merge of r4777, r4780, r4831, r4832: release process changes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4806
diff
changeset
|
123 sed -i '' -e "s/$$/`printf '\r'`/" $(TEMP)/$(NGINX)/conf/* |
2725 | 124 |
5161
a5f7d455e271
Merge of r5130, r5131, r5132: support for Mercurial repositories.
Maxim Dounin <mdounin@mdounin.ru>
parents:
5066
diff
changeset
|
125 mv $(TEMP)/$(NGINX)/docs/text/LICENSE $(TEMP)/$(NGINX)/docs.new |
a5f7d455e271
Merge of r5130, r5131, r5132: support for Mercurial repositories.
Maxim Dounin <mdounin@mdounin.ru>
parents:
5066
diff
changeset
|
126 mv $(TEMP)/$(NGINX)/docs/text/README $(TEMP)/$(NGINX)/docs.new |
a5f7d455e271
Merge of r5130, r5131, r5132: support for Mercurial repositories.
Maxim Dounin <mdounin@mdounin.ru>
parents:
5066
diff
changeset
|
127 mv $(TEMP)/$(NGINX)/docs/html $(TEMP)/$(NGINX) |
2725 | 128 |
5161
a5f7d455e271
Merge of r5130, r5131, r5132: support for Mercurial repositories.
Maxim Dounin <mdounin@mdounin.ru>
parents:
5066
diff
changeset
|
129 rm -r $(TEMP)/$(NGINX)/docs |
a5f7d455e271
Merge of r5130, r5131, r5132: support for Mercurial repositories.
Maxim Dounin <mdounin@mdounin.ru>
parents:
5066
diff
changeset
|
130 mv $(TEMP)/$(NGINX)/docs.new $(TEMP)/$(NGINX)/docs |
2725 | 131 |
132 cp -p $(OBJS)/nginx.exe $(TEMP)/$(NGINX) | |
133 | |
5161
a5f7d455e271
Merge of r5130, r5131, r5132: support for Mercurial repositories.
Maxim Dounin <mdounin@mdounin.ru>
parents:
5066
diff
changeset
|
134 $(MAKE) -f docs/GNUmakefile changes |
2725 | 135 mv $(TEMP)/$(NGINX)/CHANGES* $(TEMP)/$(NGINX)/docs/ |
136 | |
137 cp -p $(OBJS)/lib/$(OPENSSL)/LICENSE \ | |
138 $(TEMP)/$(NGINX)/docs/OpenSSL.LICENSE | |
139 | |
2871
c7fe4b9118d2
fix "make zip", the bug has been introduced in r2841
Igor Sysoev <igor@sysoev.ru>
parents:
2734
diff
changeset
|
140 cp -p $(OBJS)/lib/$(PCRE)/LICENCE \ |
c7fe4b9118d2
fix "make zip", the bug has been introduced in r2841
Igor Sysoev <igor@sysoev.ru>
parents:
2734
diff
changeset
|
141 $(TEMP)/$(NGINX)/docs/PCRE.LICENCE |
2725 | 142 |
4847
0275f587e00b
Merge of r4777, r4780, r4831, r4832: release process changes.
Maxim Dounin <mdounin@mdounin.ru>
parents:
4806
diff
changeset
|
143 sed -ne '/^ (C) 1995-20/,/^ jloup@gzip\.org/p' \ |
2725 | 144 $(OBJS)/lib/$(ZLIB)/README \ |
145 > $(TEMP)/$(NGINX)/docs/zlib.LICENSE | |
146 | |
147 touch -r $(OBJS)/lib/$(ZLIB)/README \ | |
148 $(TEMP)/$(NGINX)/docs/zlib.LICENSE | |
149 | |
5161
a5f7d455e271
Merge of r5130, r5131, r5132: support for Mercurial repositories.
Maxim Dounin <mdounin@mdounin.ru>
parents:
5066
diff
changeset
|
150 rm -r $(TEMP)/$(NGINX)/auto |
a5f7d455e271
Merge of r5130, r5131, r5132: support for Mercurial repositories.
Maxim Dounin <mdounin@mdounin.ru>
parents:
5066
diff
changeset
|
151 rm -r $(TEMP)/$(NGINX)/misc |
a5f7d455e271
Merge of r5130, r5131, r5132: support for Mercurial repositories.
Maxim Dounin <mdounin@mdounin.ru>
parents:
5066
diff
changeset
|
152 rm -r $(TEMP)/$(NGINX)/src |
a5f7d455e271
Merge of r5130, r5131, r5132: support for Mercurial repositories.
Maxim Dounin <mdounin@mdounin.ru>
parents:
5066
diff
changeset
|
153 |
2725 | 154 cd $(TEMP) && zip -r ../$(NGINX).zip $(NGINX) |
155 | |
156 | |
157 icons: src/os/win32/nginx.ico | |
681 | 158 |
2734 | 159 # 48x48, 32x32 and 16x16 icons |
681 | 160 |
2734 | 161 src/os/win32/nginx.ico: src/os/win32/nginx_icon48.xpm \ |
162 src/os/win32/nginx_icon32.xpm \ | |
681 | 163 src/os/win32/nginx_icon16.xpm |
164 | |
165 test -d $(TEMP) || mkdir $(TEMP) | |
166 | |
2734 | 167 xpmtoppm --alphaout=$(TEMP)/nginx48.pbm \ |
168 src/os/win32/nginx_icon48.xpm > $(TEMP)/nginx48.ppm | |
169 | |
681 | 170 xpmtoppm --alphaout=$(TEMP)/nginx32.pbm \ |
171 src/os/win32/nginx_icon32.xpm > $(TEMP)/nginx32.ppm | |
172 | |
173 xpmtoppm --alphaout=$(TEMP)/nginx16.pbm \ | |
174 src/os/win32/nginx_icon16.xpm > $(TEMP)/nginx16.ppm | |
175 | |
176 ppmtowinicon -output src/os/win32/nginx.ico -andpgms \ | |
2734 | 177 $(TEMP)/nginx48.ppm $(TEMP)/nginx48.pbm \ |
681 | 178 $(TEMP)/nginx32.ppm $(TEMP)/nginx32.pbm \ |
179 $(TEMP)/nginx16.ppm $(TEMP)/nginx16.pbm |