[nginx] Switched GNUmakefile from hg to git.

noreply at nginx.com noreply at nginx.com
Fri Aug 30 16:36:02 UTC 2024


details:   https://github.com/nginx/nginx/commit/81a933e1f6fa26012d6736006456171e1f1b8977
branches:  master
commit:    81a933e1f6fa26012d6736006456171e1f1b8977
user:      Roman Arutyunyan <arut at nginx.com>
date:      Thu, 29 Aug 2024 16:03:58 +0400
description:
Switched GNUmakefile from hg to git.


---
 misc/GNUmakefile | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/misc/GNUmakefile b/misc/GNUmakefile
index fa4c36d49..7d4b657de 100644
--- a/misc/GNUmakefile
+++ b/misc/GNUmakefile
@@ -30,12 +30,12 @@ release: export
 
 export:
 	rm -rf $(TEMP)
-	hg archive -X '.hg*' $(TEMP)/$(NGINX)
+	git archive --prefix=$(TEMP)/$(NGINX)/ HEAD | tar -x -f - --exclude '.git*'
 
 
 RELEASE:
-	hg ci -m nginx-$(VER)-RELEASE
-	hg tag -m "release-$(VER) tag" release-$(VER)
+	git commit -m nginx-$(VER)-RELEASE
+	git tag -m "release-$(VER) tag" release-$(VER)
 
 	$(MAKE) -f misc/GNUmakefile release
 
@@ -93,8 +93,8 @@ zip: export
 
 	sed -i '' -e "s/$$/`printf '\r'`/" $(TEMP)/$(NGINX)/conf/*
 
-	mv $(TEMP)/$(NGINX)/docs/text/LICENSE $(TEMP)/$(NGINX)/docs.new
-	mv $(TEMP)/$(NGINX)/docs/text/README $(TEMP)/$(NGINX)/docs.new
+	mv $(TEMP)/$(NGINX)/LICENSE $(TEMP)/$(NGINX)/docs.new
+	mv $(TEMP)/$(NGINX)/README $(TEMP)/$(NGINX)/docs.new
 	mv $(TEMP)/$(NGINX)/docs/html $(TEMP)/$(NGINX)
 
 	rm -r $(TEMP)/$(NGINX)/docs


More information about the nginx-devel mailing list