annotate auto/lib/perl/make @ 5151:3c4f32ebef31 stable-1.2

Merge of r5071: rebuild perl module on headers change. Configure: rebuild perl module nginx.so if headers are changed. Note: the "-p" argument of cp(1) dropped intentionally, to force nginx.so rebuild. It is considered too boring to properly list all dependencies in Makefile.PL.
author Maxim Dounin <mdounin@mdounin.ru>
date Fri, 29 Mar 2013 17:13:45 +0000
parents 1559423ec28b
children 6dd4875eb526
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
599
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
1
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
2 # Copyright (C) Igor Sysoev
4412
d620f497c50f Copyright updated.
Maxim Konovalov <maxim@nginx.com>
parents: 1187
diff changeset
3 # Copyright (C) Nginx, Inc.
599
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
4
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
5
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
6 cat << END >> $NGX_MAKEFILE
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
7
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
8 $NGX_OBJS/src/http/modules/perl/blib/arch/auto/nginx/nginx.so: \
5151
3c4f32ebef31 Merge of r5071: rebuild perl module on headers change.
Maxim Dounin <mdounin@mdounin.ru>
parents: 5038
diff changeset
9 \$(CORE_DEPS) \$(HTTP_DEPS) \
599
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
10 src/http/modules/perl/nginx.pm \
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
11 src/http/modules/perl/nginx.xs \
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
12 src/http/modules/perl/ngx_http_perl_module.h \
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
13 $NGX_OBJS/src/http/modules/perl/Makefile
5151
3c4f32ebef31 Merge of r5071: rebuild perl module on headers change.
Maxim Dounin <mdounin@mdounin.ru>
parents: 5038
diff changeset
14 cp src/http/modules/perl/nginx.* $NGX_OBJS/src/http/modules/perl/
599
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
15
4850
e74c39b69ebe Merge of r4842: fixed make macros to use parentheses.
Maxim Dounin <mdounin@mdounin.ru>
parents: 4790
diff changeset
16 cd $NGX_OBJS/src/http/modules/perl && \$(MAKE)
599
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
17
740
5187a63d9fca force perl modules reinstallation after rebuilding
Igor Sysoev <igor@sysoev.ru>
parents: 681
diff changeset
18 rm -rf $NGX_OBJS/install_perl
5187a63d9fca force perl modules reinstallation after rebuilding
Igor Sysoev <igor@sysoev.ru>
parents: 681
diff changeset
19
599
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
20
601
77f77f53214a nginx-0.3.22-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 599
diff changeset
21 $NGX_OBJS/src/http/modules/perl/Makefile: \
77f77f53214a nginx-0.3.22-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 599
diff changeset
22 src/http/modules/perl/Makefile.PL \
77f77f53214a nginx-0.3.22-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 599
diff changeset
23 src/http/modules/perl/nginx.pm
599
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
24 cp -p src/http/modules/perl/nginx.* $NGX_OBJS/src/http/modules/perl/
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
25 cp -p src/http/modules/perl/typemap $NGX_OBJS/src/http/modules/perl/
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
26 cp -p src/http/modules/perl/Makefile.PL $NGX_OBJS/src/http/modules/perl/
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
27
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
28 cd $NGX_OBJS/src/http/modules/perl \
681
7e24168b0853 nginx-0.4.0-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents: 601
diff changeset
29 && NGX_PM_CFLAGS="\$(NGX_PM_CFLAGS) -g $NGX_CC_OPT" \
5038
1559423ec28b Merge of r4946, r4978: perl.
Maxim Dounin <mdounin@mdounin.ru>
parents: 4850
diff changeset
30 NGX_INCS="$CORE_INCS $NGX_OBJS $HTTP_INCS" \
599
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
31 $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
32 LIB=$NGX_PERL_MODULES \
950
9581fba9ea12 fix for nginx.pm default installation
Igor Sysoev <igor@sysoev.ru>
parents: 948
diff changeset
33 INSTALLSITEMAN3DIR=$NGX_PERL_MODULES_MAN
599
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
34
869b6444d234 nginx-0.3.21-RELEASE import
Igor Sysoev <igor@sysoev.ru>
parents:
diff changeset
35 END