comparison misc/GNUmakefile @ 4178:1da3c3b429c1

Adding RELEASE procedure in GNUmakefile.
author Igor Sysoev <igor@sysoev.ru>
date Wed, 05 Oct 2011 13:24:32 +0000
parents 5c3633105878
children 871229f8173c
comparison
equal deleted inserted replaced
4177:33d9afa2c6db 4178:1da3c3b429c1
6 6
7 OBJS = objs.msvc8 7 OBJS = objs.msvc8
8 OPENSSL = openssl-1.0.0d 8 OPENSSL = openssl-1.0.0d
9 ZLIB = zlib-1.2.3 9 ZLIB = zlib-1.2.3
10 PCRE = pcre-7.9 10 PCRE = pcre-7.9
11
12
13 RELEASE:
14 test -d $(TEMP) || mkdir -p $(TEMP)
15
16 echo "nginx-$(VER)-RELEASE" > $(TEMP)/message
17 svn ci -F $(TEMP)/message
18
19 echo "release-$(VER) tag" > $(TEMP)/message
20 svn copy $(REPO)/nginx/trunk $(REPO)/nginx/tags/release-$(VER) \
21 -F $(TEMP)/message
22
23 svn up
24
25 $(MAKE) release
11 26
12 27
13 release: 28 release:
14 rm -rf $(TEMP) 29 rm -rf $(TEMP)
15 30