[nginx] svn commit: r5148 - in trunk: docs misc
ru at nginx.com
ru at nginx.com
Thu Mar 28 08:47:27 UTC 2013
Author: ru
Date: 2013-03-28 08:47:25 +0000 (Thu, 28 Mar 2013)
New Revision: 5148
URL: http://trac.nginx.org/nginx/changeset/5148/nginx
Log:
Configure: unified nginx version computation constructs.
Modified:
trunk/docs/GNUmakefile
trunk/misc/GNUmakefile
Modified: trunk/docs/GNUmakefile
===================================================================
--- trunk/docs/GNUmakefile 2013-03-28 08:47:06 UTC (rev 5147)
+++ trunk/docs/GNUmakefile 2013-03-28 08:47:25 UTC (rev 5148)
@@ -1,6 +1,6 @@
VER= $(shell grep 'define NGINX_VERSION' src/core/nginx.h \
- | sed -e 's/^.*\"\(.*\)\"/\1/')
+ | sed -e 's/^.*"\(.*\)".*/\1/')
NGINX= nginx-$(VER)
TEMP= tmp
CP= $(HOME)/java
Modified: trunk/misc/GNUmakefile
===================================================================
--- trunk/misc/GNUmakefile 2013-03-28 08:47:06 UTC (rev 5147)
+++ trunk/misc/GNUmakefile 2013-03-28 08:47:25 UTC (rev 5148)
@@ -1,6 +1,6 @@
VER = $(shell grep 'define NGINX_VERSION' src/core/nginx.h \
- | sed -e 's/^.*\"\(.*\)\"/\1/')
+ | sed -e 's/^.*"\(.*\)".*/\1/')
NGINX = nginx-$(VER)
TEMP = tmp
REPO = $(shell svn info | sed -n 's/^Repository Root: //p')
More information about the nginx-devel
mailing list