Mercurial > hg > nginx-quic
comparison misc/GNUmakefile @ 4320:b72828fe457f
Compute the repository root from the checkout.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Wed, 30 Nov 2011 07:36:09 +0000 |
parents | 051129d893cc |
children | 05d6d889e596 |
comparison
equal
deleted
inserted
replaced
4319:f40541f7afb5 | 4320:b72828fe457f |
---|---|
1 | 1 |
2 VER = $(shell grep 'define NGINX_VERSION' src/core/nginx.h \ | 2 VER = $(shell grep 'define NGINX_VERSION' src/core/nginx.h \ |
3 | sed -e 's/^.*\"\(.*\)\"/\1/') | 3 | sed -e 's/^.*\"\(.*\)\"/\1/') |
4 NGINX = nginx-$(VER) | 4 NGINX = nginx-$(VER) |
5 TEMP = tmp | 5 TEMP = tmp |
6 REPO = svn://svn.nginx.com | 6 REPO = $(shell svn info | sed -n 's/^Repository Root: //p') |
7 | 7 |
8 OBJS = objs.msvc8 | 8 OBJS = objs.msvc8 |
9 OPENSSL = openssl-1.0.0d | 9 OPENSSL = openssl-1.0.0d |
10 ZLIB = zlib-1.2.3 | 10 ZLIB = zlib-1.2.3 |
11 PCRE = pcre-7.9 | 11 PCRE = pcre-7.9 |
44 | 44 |
45 echo "nginx-$(VER)-RELEASE" > $(TEMP)/message | 45 echo "nginx-$(VER)-RELEASE" > $(TEMP)/message |
46 svn ci -F $(TEMP)/message | 46 svn ci -F $(TEMP)/message |
47 | 47 |
48 echo "release-$(VER) tag" > $(TEMP)/message | 48 echo "release-$(VER) tag" > $(TEMP)/message |
49 svn copy $(REPO)/nginx/trunk $(REPO)/nginx/tags/release-$(VER) \ | 49 svn copy $(REPO)/trunk $(REPO)/tags/release-$(VER) \ |
50 -F $(TEMP)/message | 50 -F $(TEMP)/message |
51 | 51 |
52 svn up | 52 svn up |
53 | 53 |
54 $(MAKE) release | 54 $(MAKE) release |