Mercurial > hg > nginx-quic
diff 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 |
line wrap: on
line diff
--- a/misc/GNUmakefile +++ b/misc/GNUmakefile @@ -10,6 +10,21 @@ ZLIB = zlib-1.2.3 PCRE = pcre-7.9 +RELEASE: + test -d $(TEMP) || mkdir -p $(TEMP) + + echo "nginx-$(VER)-RELEASE" > $(TEMP)/message + svn ci -F $(TEMP)/message + + echo "release-$(VER) tag" > $(TEMP)/message + svn copy $(REPO)/nginx/trunk $(REPO)/nginx/tags/release-$(VER) \ + -F $(TEMP)/message + + svn up + + $(MAKE) release + + release: rm -rf $(TEMP)