Mercurial > hg > nginx
diff misc/GNUmakefile @ 775:a452a0e13539
check nginx.pm version
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 12 Oct 2006 19:55:15 +0000 |
parents | 58bd27d72519 |
children | 8d77ff798f5c |
line wrap: on
line diff
--- a/misc/GNUmakefile Thu Oct 12 13:56:16 2006 +0000 +++ b/misc/GNUmakefile Thu Oct 12 19:55:15 2006 +0000 @@ -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