mirror of
https://github.com/nginx/nginx.git
synced 2024-11-23 20:19:02 +08:00
Switched GNUmakefile from hg to git.
This commit is contained in:
parent
900f4dc48c
commit
81a933e1f6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user