comparison misc/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 b2c104777eeb
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
7
8 release:
9 rm -rf $(TEMP)
10
11 svn export -rHEAD . $(TEMP)/$(NGINX)
12
13 mv $(TEMP)/$(NGINX)/auto/configure $(TEMP)/$(NGINX)
14
15 # delete incomplete sources
16 rm $(TEMP)/$(NGINX)/src/event/ngx_event_acceptex.c
17 rm $(TEMP)/$(NGINX)/src/event/ngx_event_connectex.c
18 rm $(TEMP)/$(NGINX)/src/event/modules/ngx_iocp_module.*
19 rm -r $(TEMP)/$(NGINX)/src/os/win32
20
21 rm $(TEMP)/$(NGINX)/src/core/ngx_slab.*
22 rm $(TEMP)/$(NGINX)/src/core/ngx_resolver.*
23
24 rm -r $(TEMP)/$(NGINX)/src/mysql
25
26 rm $(TEMP)/$(NGINX)/src/http/modules/ngx_http_status_module.c
27
28 mv $(TEMP)/$(NGINX)/docs/text/LICENSE $(TEMP)/$(NGINX)
29 mv $(TEMP)/$(NGINX)/docs/text/README $(TEMP)/$(NGINX)
30 mv $(TEMP)/$(NGINX)/docs/html $(TEMP)/$(NGINX)
31
32 $(MAKE) -f docs/GNUmakefile changes
33
34 rm -r $(TEMP)/$(NGINX)/docs
35 rm -r $(TEMP)/$(NGINX)/misc
36
37 tar -c -z -f $(NGINX).tar.gz --directory $(TEMP) $(NGINX)
38
39
40 icons: src/os/win32/nginx.ico src/os/win32/nginx_tray.ico
41
42 # 32x32 and 16x16 icons
43
44 src/os/win32/nginx.ico: src/os/win32/nginx_icon32.xpm \
45 src/os/win32/nginx_icon16.xpm
46
47 test -d $(TEMP) || mkdir $(TEMP)
48
49 xpmtoppm --alphaout=$(TEMP)/nginx32.pbm \
50 src/os/win32/nginx_icon32.xpm > $(TEMP)/nginx32.ppm
51
52 xpmtoppm --alphaout=$(TEMP)/nginx16.pbm \
53 src/os/win32/nginx_icon16.xpm > $(TEMP)/nginx16.ppm
54
55 ppmtowinicon -output src/os/win32/nginx.ico -andpgms \
56 $(TEMP)/nginx32.ppm $(TEMP)/nginx32.pbm \
57 $(TEMP)/nginx16.ppm $(TEMP)/nginx16.pbm
58
59 # tray icon
60
61 src/os/win32/nginx_tray.ico: src/os/win32/nginx_tray.xpm
62
63 test -d $(TEMP) || mkdir $(TEMP)
64
65 xpmtoppm --alphaout=$(TEMP)/nginx_tray.pbm \
66 src/os/win32/nginx_tray.xpm > $(TEMP)/nginx_tray.ppm
67
68 ppmtowinicon -output src/os/win32/nginx_tray.ico -andpgms \
69 $(TEMP)/nginx_tray.ppm $(TEMP)/nginx_tray.pbm