Mercurial > hg > nginx
annotate auto/lib/perl/make @ 2665:4d627567c324
fix r2664: ..._cache_valid did not work for stale responses
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 03 Apr 2009 15:47:45 +0000 |
parents | dc739feef4b5 |
children | d620f497c50f |
rev | line source |
---|---|
599 | 1 |
2 # Copyright (C) Igor Sysoev | |
3 | |
4 | |
5 cat << END >> $NGX_MAKEFILE | |
6 | |
7 $NGX_OBJS/src/http/modules/perl/blib/arch/auto/nginx/nginx.so: \ | |
8 src/http/modules/perl/nginx.pm \ | |
9 src/http/modules/perl/nginx.xs \ | |
10 src/http/modules/perl/ngx_http_perl_module.h \ | |
11 $NGX_OBJS/src/http/modules/perl/Makefile | |
12 cp -p src/http/modules/perl/nginx.* $NGX_OBJS/src/http/modules/perl/ | |
13 | |
14 cd $NGX_OBJS/src/http/modules/perl && make | |
15 | |
740
5187a63d9fca
force perl modules reinstallation after rebuilding
Igor Sysoev <igor@sysoev.ru>
parents:
681
diff
changeset
|
16 rm -rf $NGX_OBJS/install_perl |
5187a63d9fca
force perl modules reinstallation after rebuilding
Igor Sysoev <igor@sysoev.ru>
parents:
681
diff
changeset
|
17 |
599 | 18 |
601 | 19 $NGX_OBJS/src/http/modules/perl/Makefile: \ |
20 src/http/modules/perl/Makefile.PL \ | |
21 src/http/modules/perl/nginx.pm | |
599 | 22 cp -p src/http/modules/perl/nginx.* $NGX_OBJS/src/http/modules/perl/ |
23 cp -p src/http/modules/perl/typemap $NGX_OBJS/src/http/modules/perl/ | |
24 cp -p src/http/modules/perl/Makefile.PL $NGX_OBJS/src/http/modules/perl/ | |
25 | |
26 cd $NGX_OBJS/src/http/modules/perl \ | |
681 | 27 && NGX_PM_CFLAGS="\$(NGX_PM_CFLAGS) -g $NGX_CC_OPT" \ |
599 | 28 NGX_PCRE=$PCRE \ |
29 NGX_OBJS=$NGX_OBJS \ | |
30 $NGX_PERL Makefile.PL \ | |
948
12077affd903
backout the r945: the nginx.pm could not be loaded at all,
Igor Sysoev <igor@sysoev.ru>
parents:
944
diff
changeset
|
31 LIB=$NGX_PERL_MODULES \ |
950
9581fba9ea12
fix for nginx.pm default installation
Igor Sysoev <igor@sysoev.ru>
parents:
948
diff
changeset
|
32 INSTALLSITEMAN3DIR=$NGX_PERL_MODULES_MAN |
599 | 33 |
34 END |