check nginx.pm version

This commit is contained in:
Igor Sysoev
2006-10-12 19:55:15 +00:00
parent d79b21d1c6
commit 8a444aa724
6 changed files with 21 additions and 7 deletions

View File

@@ -1,6 +1,6 @@
VER= $(shell grep NGINX_VER src/core/nginx.h \
| sed -e 's%^.*\"nginx/\(.*\)\"%\1%')
VER= $(shell grep 'define NGINX_VERSION' src/core/nginx.h \
| sed -e 's/^.*\"\(.*\)\"/\1/')
NGINX= nginx-$(VER)
TEMP= tmp
CP= $(HOME)/java