summaryrefslogtreecommitdiff
path: root/auto/install
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2006-01-16 14:52:00 +0000
committerJonathan Kolb <jon@b0g.us>2006-01-16 14:52:00 +0000
commit9a00e75ea284e34af6bac02345f161000f6cbc90 (patch)
tree16f72560a1775dc045bff134097e1ed9e462b289 /auto/install
parent60a58f84fd670d6ee610d80fe2334740e642461e (diff)
downloadnginx-9a00e75ea284e34af6bac02345f161000f6cbc90.tar.gz
Changes with nginx 0.3.21 16 Jan 2006v0.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"`' \