summaryrefslogtreecommitdiffhomepage
path: root/docs/GNUmakefile
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2006-10-12 19:55:15 +0000
committerIgor Sysoev <igor@sysoev.ru>2006-10-12 19:55:15 +0000
commit8a444aa7242a294e03f551228152c393a1d68f50 (patch)
treee5a18ba15aefe5bbac9eeb2fb26289f6b70366e3 /docs/GNUmakefile
parentd79b21d1c6c36cf8687336e8b4bde59e9380cab2 (diff)
downloadnginx-8a444aa7242a294e03f551228152c393a1d68f50.tar.gz
nginx-8a444aa7242a294e03f551228152c393a1d68f50.tar.bz2
check nginx.pm version
Diffstat (limited to 'docs/GNUmakefile')
-rw-r--r--docs/GNUmakefile4
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