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-01-16 17:56:53 +0300
committerIgor Sysoev <igor@sysoev.ru>2006-01-16 17:56:53 +0300
commit9bf11aa19366f45bcd10a0917034acb45f89b259 (patch)
treec7231ce937ab196c89608185e59ab544224e4da8 /auto/install
parent243edbb727c49ac25355e109a097f1ca2d9e1e44 (diff)
nginx-0.3.21-RELEASE importrelease-0.3.21
*) Feature: the ngx_http_perl_module. *) Change: the "valid_referers" directive allows the referreres without URI part.
Diffstat (limited to 'auto/install')
-rw-r--r--auto/install16
1 files changed, 15 insertions, 1 deletions
diff --git a/auto/install b/auto/install
index 55f868a1d..07535b745 100644
--- a/auto/install
+++ b/auto/install
@@ -2,9 +2,23 @@
# Copyright (C) Igor Sysoev
+if [ $USE_PERL = YES ]; then
+
+ cat << END >> $NGX_MAKEFILE
+
+install_perl_modules:
+ cd $NGX_OBJS/src/http/modules/perl && make install
+END
+
+ NGX_INSTALL_PERL_MODULES=install_perl_modules
+
+fi
+
+
cat << END >> $NGX_MAKEFILE
-install: $NGX_OBJS${ngx_dirsep}nginx${ngx_binext}
+install: $NGX_OBJS${ngx_dirsep}nginx${ngx_binext} \
+ $NGX_INSTALL_PERL_MODULES
test -d '$NGX_PREFIX' || mkdir -p '$NGX_PREFIX'
test -d '`dirname "$NGX_SBIN_PATH"`' \