Configure: unified nginx version computation constructs.

stable-1.4
Ruslan Ermilov 13 years ago
parent a861b0dbb1
commit f24f5f116f
  1. 2
      docs/GNUmakefile
  2. 2
      misc/GNUmakefile

@ -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

@ -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')

Loading…
Cancel
Save