diff docs/GNUmakefile @ 775:a452a0e13539

check nginx.pm version
author Igor Sysoev <igor@sysoev.ru>
date Thu, 12 Oct 2006 19:55:15 +0000
parents 7e24168b0853
children 520cb18b64fb
line wrap: on
line diff
--- 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