From 8a444aa7242a294e03f551228152c393a1d68f50 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Thu, 12 Oct 2006 19:55:15 +0000 Subject: check nginx.pm version --- docs/GNUmakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs') 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 -- cgit