Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2006-10-12 23:55:15 +0400
committerIgor Sysoev <igor@sysoev.ru>2006-10-12 23:55:15 +0400
commit8a444aa7242a294e03f551228152c393a1d68f50 (patch)
treee5a18ba15aefe5bbac9eeb2fb26289f6b70366e3 /docs/GNUmakefile
parentd79b21d1c6c36cf8687336e8b4bde59e9380cab2 (diff)
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