Welcome! Log In Create A New Profile

Advanced

[nginx] svn commit: r5130 - trunk/misc

Anonymous User
March 22, 2013 11:16AM
Author: mdounin
Date: 2013-03-22 15:14:07 +0000 (Fri, 22 Mar 2013)
New Revision: 5130
URL: http://trac.nginx.org/nginx/changeset/5130/nginx

Log:
Misc: switch to single export operation in "zip" target.

While exporting parts of the tree might be better in some cases, it
is awfully slow overseas, and also requires unlocking ssh key multiple
times. Exporting the whole repo and removing directories not needed for
zip is faster here.

It is also a required step before we can switch to Mercurial.


Modified:
trunk/misc/GNUmakefile

Modified: trunk/misc/GNUmakefile
===================================================================
--- trunk/misc/GNUmakefile 2013-03-21 16:06:53 UTC (rev 5129)
+++ trunk/misc/GNUmakefile 2013-03-22 15:14:07 UTC (rev 5130)
@@ -124,22 +124,24 @@
rm -rf $(TEMP)
rm -f $(NGINX).zip

- mkdir -p $(TEMP)/$(NGINX)/docs
+ svn export -rHEAD . $(TEMP)/$(NGINX)
+
+ mkdir -p $(TEMP)/$(NGINX)/docs.new
mkdir -p $(TEMP)/$(NGINX)/logs
mkdir -p $(TEMP)/$(NGINX)/temp

- svn export -rHEAD conf $(TEMP)/$(NGINX)/conf/
sed -i '' -e "s/$$/`printf '\r'`/" $(TEMP)/$(NGINX)/conf/*

- svn export -rHEAD contrib $(TEMP)/$(NGINX)/contrib/
- svn export -rHEAD docs/html $(TEMP)/$(NGINX)/html/
+ mv $(TEMP)/$(NGINX)/docs/text/LICENSE $(TEMP)/$(NGINX)/docs.new
+ mv $(TEMP)/$(NGINX)/docs/text/README $(TEMP)/$(NGINX)/docs.new
+ mv $(TEMP)/$(NGINX)/docs/html $(TEMP)/$(NGINX)

- $(MAKE) -f docs/GNUmakefile changes
+ rm -r $(TEMP)/$(NGINX)/docs
+ mv $(TEMP)/$(NGINX)/docs.new $(TEMP)/$(NGINX)/docs

cp -p $(OBJS)/nginx.exe $(TEMP)/$(NGINX)

- cp -p docs/text/LICENSE $(TEMP)/$(NGINX)/docs/
- cp -p docs/text/README $(TEMP)/$(NGINX)/docs/
+ $(MAKE) -f docs/GNUmakefile changes
mv $(TEMP)/$(NGINX)/CHANGES* $(TEMP)/$(NGINX)/docs/

cp -p $(OBJS)/lib/$(OPENSSL)/LICENSE \
@@ -155,6 +157,10 @@
touch -r $(OBJS)/lib/$(ZLIB)/README \
$(TEMP)/$(NGINX)/docs/zlib.LICENSE

+ rm -r $(TEMP)/$(NGINX)/auto
+ rm -r $(TEMP)/$(NGINX)/misc
+ rm -r $(TEMP)/$(NGINX)/src
+
cd $(TEMP) && zip -r ../$(NGINX).zip $(NGINX)



_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] svn commit: r5130 - trunk/misc

Anonymous User 687 March 22, 2013 11:16AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 193
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready