[nginx] Removed vestiges of SVN.
Maxim Dounin
mdounin at mdounin.ru
Tue Jul 16 11:41:22 UTC 2013
details: http://hg.nginx.org/nginx/rev/c248b0071507
branches: stable-1.4
changeset: 5272:c248b0071507
user: Ruslan Ermilov <ru at nginx.com>
date: Thu Apr 25 17:41:45 2013 +0400
description:
Removed vestiges of SVN.
diffstat:
misc/GNUmakefile | 31 ++-----------------------------
misc/README | 3 ---
2 files changed, 2 insertions(+), 32 deletions(-)
diffs (64 lines):
diff --git a/misc/GNUmakefile b/misc/GNUmakefile
--- a/misc/GNUmakefile
+++ b/misc/GNUmakefile
@@ -3,7 +3,6 @@ VER = $(shell grep 'define NGINX_VERSIO
| sed -e 's/^.*"\(.*\)".*/\1/')
NGINX = nginx-$(VER)
TEMP = tmp
-REPO = $(shell svn info | sed -n 's/^Repository Root: //p')
OBJS = objs.msvc8
OPENSSL = openssl-1.0.1e
@@ -38,40 +37,14 @@ release: export
export:
rm -rf $(TEMP)
-
- if [ -d .svn ]; then \
- svn export -rHEAD . $(TEMP)/$(NGINX); \
- else \
- hg archive -X '.hg*' $(TEMP)/$(NGINX); \
- fi
+ hg archive -X '.hg*' $(TEMP)/$(NGINX)
RELEASE:
- if [ -d .svn ]; then \
- $(MAKE) -f misc/GNUmakefile RELEASE.svn; \
- else \
- $(MAKE) -f misc/GNUmakefile RELEASE.hg; \
- fi
-
- $(MAKE) -f misc/GNUmakefile release
-
-
-RELEASE.hg:
hg ci -m nginx-$(VER)-RELEASE
hg tag -m "release-$(VER) tag" release-$(VER)
-
-RELEASE.svn:
- 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)/trunk $(REPO)/tags/release-$(VER) \
- -F $(TEMP)/message
-
- svn up
+ $(MAKE) -f misc/GNUmakefile release
win32:
diff --git a/misc/README b/misc/README
--- a/misc/README
+++ b/misc/README
@@ -1,6 +1,3 @@
-
-GNUmakefile, in svn it is available since 0.4.0 only.
-
make -f misc/GNUmakefile release
More information about the nginx-devel
mailing list