diff options
author | Igor Sysoev <igor@sysoev.ru> | 2006-10-12 23:55:15 +0400 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2006-10-12 23:55:15 +0400 |
commit | 8a444aa7242a294e03f551228152c393a1d68f50 (patch) | |
tree | e5a18ba15aefe5bbac9eeb2fb26289f6b70366e3 /docs/GNUmakefile | |
parent | d79b21d1c6c36cf8687336e8b4bde59e9380cab2 (diff) |
check nginx.pm version
Diffstat (limited to 'docs/GNUmakefile')
-rw-r--r-- | docs/GNUmakefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/GNUmakefile b/docs/GNUmakefile index 7f2d45afb..1198e4229 100644 --- a/docs/GNUmakefile +++ b/docs/GNUmakefile @@ -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 |